1
0
mirror of synced 2024-11-25 00:00:27 +01:00
ImHex/main/gui/source
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
..
init fix: Wayland error discarding build errors with older GLFW versions 2024-05-17 20:22:55 +02:00
messaging fix: remove TODO + show error message when reading/write in process provider (#1516) 2024-01-26 18:44:52 +00:00
window impr: Stop rubber banding while resizing on macOS (#1690) 2024-05-19 14:14:57 +02:00
crash_handlers.cpp impr: Only store paths with forward slashes in project files 2024-05-08 21:30:20 +02:00
main.cpp refactor: More cleanup of the main file 2024-02-11 13:46:06 +01:00
stacktrace.cpp build: Mark tryDemangle as [[maybe_unused]] (#1606) 2024-03-21 13:33:23 +01:00