kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Hopefully fixed MacOS cursor not calling ImGui when moved through software
rodzic
b5cbafb01d
commit
f46fa2157b
|
@ -224,7 +224,9 @@ namespace backend {
|
|||
}
|
||||
|
||||
void setMouseScreenPos(double x, double y) {
|
||||
// Tell GLFW to move the cursor and then manually fire the event
|
||||
glfwSetCursorPos(window, x, y);
|
||||
ImGui_ImplGlfw_CursorPosCallback(window, x, y);
|
||||
}
|
||||
|
||||
int renderLoop() {
|
||||
|
@ -300,4 +302,4 @@ namespace backend {
|
|||
|
||||
return 0; // TODO: Int really needed?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue