You've already forked AstralRinth
forked from didirus/AstralRinth
@@ -61,7 +61,7 @@ fn get_webview_position<R: Runtime>(
|
||||
let width = 300.0 * dpr;
|
||||
let height = 250.0 * dpr;
|
||||
|
||||
let main_window_size = main_window.inner_size()?;
|
||||
let main_window_size = main_window.outer_size()?;
|
||||
let x = (main_window_size.width as f32) - width;
|
||||
let y = (main_window_size.height as f32) - height;
|
||||
|
||||
|
||||
@@ -237,7 +237,7 @@ fn main() {
|
||||
|
||||
if let Some(window) = app.get_window("main") {
|
||||
// Hide window to prevent white flash on startup
|
||||
let _ = window.hide();
|
||||
// let _ = window.hide();
|
||||
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user