1
0
mirror of synced 2024-11-24 15:50:16 +01:00
ImHex/main/gui
David Mentler 2cb673fd81
impr: Stop rubber banding while resizing on macOS (#1690)
### Problem description
On macOS `glfwSetWindowSizeCallback` is invoked early during window
resizing, rendering a frame in that callback leads to wonky results as
the new framebuffer is swapped before the OS has the chance to actually
resize the window:


https://github.com/WerWolv/ImHex/assets/1068675/46336419-3fc2-4aa1-b16f-68b0c00e3584

### Implementation description
Window contents are redrawn only from `glfwSetWindowRefreshCallback`
during resizing, fixing the issue:


https://github.com/WerWolv/ImHex/assets/1068675/3acc5d4a-b2a5-42f0-9015-5e7172a027cf
2024-05-19 14:14:57 +02:00
..
include impr: Refactor GLFW window hints into individual window files 2024-05-03 21:39:31 +02:00
romfs impr: Refactor init logic 2023-12-17 20:33:17 +01:00
source impr: Stop rubber banding while resizing on macOS (#1690) 2024-05-19 14:14:57 +02:00
CMakeLists.txt build: Added precompiled headers 2024-02-29 19:57:20 +01:00