Просмотр исходного кода

app: disable bugging window scaling code

darkfi 1 год назад
Родитель
Сommit
8634742dc4
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      bin/app/src/app/mod.rs

+ 2 - 2
bin/app/src/app/mod.rs

@@ -113,8 +113,8 @@ impl App {
         let mut window_scale = 1.;
         #[cfg(target_os = "android")]
         {
-            window_scale = android::get_screen_density() / 2.625;
-            d!("Setting window_scale to {window_scale}");
+            //window_scale = android::get_screen_density() / 2.625;
+            //d!("Setting window_scale to {window_scale}");
         }
 
         settings.add_setting("scale", PropertyValue::Float32(window_scale));