Skip to content

Commit

Permalink
set fixed scale factor for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
WeirdConstructor committed Jan 9, 2021
1 parent 2559f22 commit aebff0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Change: Move the fine adjustment area to the knob label.
* Change: Gain only goes up to 2.0 now, to make it
less easy to destroy your speakers.
* Change: Set a fixed scale factor for now until I know
how to deal with system scale factors.
* Bugfix: Default fine step was too small to feel nice.
* Bugfix: Removed some debug prints.
* Bugfix: A bug in baseview caused the resizing / UI offset issues.
Expand Down
2 changes: 1 addition & 1 deletion src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ pub fn open_window(title: &str, window_width: i32, window_height: i32, parent: O
WindowOpenOptions {
title: title.to_string(),
size: Size::new(window_width as f64, window_height as f64),
scale: WindowScalePolicy::SystemScaleFactor,
scale: WindowScalePolicy::ScaleFactor(1.0),
};

let window_create_fun = move |win: &mut Window| {
Expand Down

0 comments on commit aebff0d

Please sign in to comment.