Browse Source

new window binding

master
Odilitime 4 years ago
parent
commit
e7ac823d68
  1. 3
      src/interfaces/components/DocumentComponent.cpp

3
src/interfaces/components/DocumentComponent.cpp

@ -297,6 +297,9 @@ DocumentComponent::DocumentComponent(const float rawX, const float rawY, const f @@ -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