mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 07:08:11 +08:00
Clean up and polish some code from the previous commit (#255)
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
pub const PLUS_KEY_MULTIPLIER: f64 = 1.25;
|
||||
pub const MINUS_KEY_MULTIPLIER: f64 = 0.8;
|
||||
pub const PLUS_KEY_ZOOM_MULTIPLIER: f64 = 1.25;
|
||||
pub const MINUS_KEY_ZOOM_MULTIPLIER: f64 = 0.8;
|
||||
|
||||
pub const VIEWPORT_ZOOM_SCALE_MIN: f64 = 0.000_001;
|
||||
pub const VIEWPORT_ZOOM_SCALE_MAX: f64 = 1_000_000.;
|
||||
|
||||
pub const WHEEL_ZOOM_DIVISOR: f64 = 500.;
|
||||
pub const MOUSE_ZOOM_DIVISOR: f64 = 400.;
|
||||
|
||||
Reference in New Issue
Block a user