Browse Source

new window binding

master
Odilitime 1 year ago
parent
commit
e7ac823d68
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/interfaces/components/DocumentComponent.cpp

+ 3
- 0
src/interfaces/components/DocumentComponent.cpp View File

@@ -297,6 +297,9 @@ DocumentComponent::DocumentComponent(const float rawX, const float rawY, const f
if (key == GLFW_KEY_T && action == GLFW_RELEASE) {
browser->NextTheme();
}
if (key == GLFW_KEY_N && action == GLFW_RELEASE) {
browser->addWindow();
}
// FIXME: probably should just direct set the scroll
// we should have a function for setting scrollY position
if (key == GLFW_KEY_HOME && (action == GLFW_RELEASE || action == GLFW_REPEAT)) {

Loading…
Cancel
Save