Fix resizing view breaking app on high DPI displays (#5275)

* Fix resizing view breaking app on high DPI displays

* A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
This commit is contained in:
49fl
2025-02-06 12:06:50 -05:00
committed by GitHub
parent c8653beae7
commit 019cb815f9
2 changed files with 10 additions and 2 deletions

View File

@ -819,8 +819,8 @@ export async function sendSelectEventToEngine(
clientX: e.clientX,
clientY: e.clientY,
el,
streamWidth: el.clientWidth,
streamHeight: el.clientHeight,
streamWidth: engineCommandManager.width,
streamHeight: engineCommandManager.height,
})
const res = await engineCommandManager.sendSceneCommand({
type: 'modeling_cmd_req',