comment fix (#178)

This commit is contained in:
Cameron McCormack 2020-05-04 21:19:45 +10:00 committed by GitHub
parent 542da074fe
commit 2c3fc9526c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -155,7 +155,7 @@ pub enum ScaleMode {
Stretch, 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) /// 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, 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 /// If the window is smaller than the buffer the center of the buffer will be displayed
Center, Center,
/// Same as Center but places the buffer in the upper left corner of the window. /// Same as Center but places the buffer in the upper left corner of the window.