mirror of
https://github.com/FluxaMedia/fluxa-desktop.git
synced 2026-08-20 14:06:44 +00:00
debug: log the native player surface's render size
This commit is contained in:
parent
0badb831d0
commit
6c926821df
1 changed files with 1 additions and 0 deletions
|
|
@ -438,6 +438,7 @@ fn spawn_install_thread(app_handle: AppHandle, setup_tx: mpsc::Sender<Result<Nat
|
|||
let nh = (r2.bottom - r2.top).max(2);
|
||||
if (nw, nh) != last_size {
|
||||
last_size = (nw, nh);
|
||||
log::info!("player surface: resizing render surface to {nw}x{nh}");
|
||||
unsafe {
|
||||
SetWindowPos(child_hwnd, HWND_BOTTOM, 0, 0, nw, nh, SWP_NOACTIVATE);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue