From 2c3fc9526c92ffa1d0268f75793c102cdc644cdb Mon Sep 17 00:00:00 2001 From: Cameron McCormack Date: Mon, 4 May 2020 21:19:45 +1000 Subject: [PATCH] comment fix (#178) --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 642d5b6..f9e54fa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -155,7 +155,7 @@ pub enum ScaleMode { Stretch, /// Keep the correct aspect ratio to be displayed while scaling up fully in the other axis. Fill area will be filed with Window::set_bg_color (default 0, 0, 0) AspectRatioStretch, - /// Places the buffer in the middle of the window without any scaling. Fills the borders with color set Window::set_bg_color (default 0,0,0) + /// Places the buffer in the middle of the window without any scaling. Fills the borders with color set `Window::set_background_color` (default 0, 0, 0) /// If the window is smaller than the buffer the center of the buffer will be displayed Center, /// Same as Center but places the buffer in the upper left corner of the window.