mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-26 02:48:31 +01:00
Hopefully fixed MacOS cursor not calling ImGui when moved through software
This commit is contained in:
parent
b5cbafb01d
commit
f46fa2157b
@ -224,7 +224,9 @@ namespace backend {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void setMouseScreenPos(double x, double y) {
|
void setMouseScreenPos(double x, double y) {
|
||||||
|
// Tell GLFW to move the cursor and then manually fire the event
|
||||||
glfwSetCursorPos(window, x, y);
|
glfwSetCursorPos(window, x, y);
|
||||||
|
ImGui_ImplGlfw_CursorPosCallback(window, x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
int renderLoop() {
|
int renderLoop() {
|
||||||
|
Loading…
Reference in New Issue
Block a user