generated from tipragot/rust
Add a responsive scaling for ui #73
|
@ -1,5 +1,5 @@
|
||||||
const DEFAULT_WIDTH = 1280.
|
const DEFAULT_WIDTH: f32 = 1280.;
|
||||||
const DEFAULT_HEIGHT = 720.
|
const DEFAULT_HEIGHT: f32 = 720.;
|
||||||
|
|
||||||
/// Calculates the ui_scale.0 depending on the size of the main node
|
/// Calculates the ui_scale.0 depending on the size of the main node
|
||||||
/// in order to make the screen responsive
|
/// in order to make the screen responsive
|
||||||
|
|
Loading…
Reference in a new issue