Skip to content

Commit

Permalink
Merge pull request #661 from bolt-blue/glfw_demo_quickfix
Browse files Browse the repository at this point in the history
Quickfix glfw shift-key handling
  • Loading branch information
RobLoach authored Jul 23, 2024
2 parents 8f3fc31 + 0883109 commit 2795d90
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion demo/glfw_opengl2/nuklear_glfw_gl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ nk_glfw3_new_frame(void)
nk_input_key(ctx, NK_KEY_COPY, 0);
nk_input_key(ctx, NK_KEY_PASTE, 0);
nk_input_key(ctx, NK_KEY_CUT, 0);
nk_input_key(ctx, NK_KEY_SHIFT, 0);
}

glfwGetCursorPos(win, &x, &y);
Expand Down
1 change: 0 additions & 1 deletion demo/glfw_opengl3/nuklear_glfw_gl3.h
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,6 @@ nk_glfw3_new_frame(struct nk_glfw* glfw)
nk_input_key(ctx, NK_KEY_COPY, 0);
nk_input_key(ctx, NK_KEY_PASTE, 0);
nk_input_key(ctx, NK_KEY_CUT, 0);
nk_input_key(ctx, NK_KEY_SHIFT, 0);
}

glfwGetCursorPos(win, &x, &y);
Expand Down
1 change: 0 additions & 1 deletion demo/glfw_opengl4/nuklear_glfw_gl4.h
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,6 @@ nk_glfw3_new_frame(void)
nk_input_key(ctx, NK_KEY_COPY, 0);
nk_input_key(ctx, NK_KEY_PASTE, 0);
nk_input_key(ctx, NK_KEY_CUT, 0);
nk_input_key(ctx, NK_KEY_SHIFT, 0);
}

glfwGetCursorPos(win, &x, &y);
Expand Down
1 change: 0 additions & 1 deletion demo/glfw_vulkan/nuklear_glfw_vulkan.h
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,6 @@ NK_API void nk_glfw3_new_frame(void) {
nk_input_key(ctx, NK_KEY_COPY, 0);
nk_input_key(ctx, NK_KEY_PASTE, 0);
nk_input_key(ctx, NK_KEY_CUT, 0);
nk_input_key(ctx, NK_KEY_SHIFT, 0);
}

glfwGetCursorPos(win, &x, &y);
Expand Down
1 change: 0 additions & 1 deletion demo/glfw_vulkan/src/nuklear_glfw_vulkan.in.h
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,6 @@ NK_API void nk_glfw3_new_frame(void) {
nk_input_key(ctx, NK_KEY_COPY, 0);
nk_input_key(ctx, NK_KEY_PASTE, 0);
nk_input_key(ctx, NK_KEY_CUT, 0);
nk_input_key(ctx, NK_KEY_SHIFT, 0);
}

glfwGetCursorPos(win, &x, &y);
Expand Down

0 comments on commit 2795d90

Please sign in to comment.