浏览代码

new window binding

master
Odilitime 2 年前
父节点
当前提交
e7ac823d68
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/interfaces/components/DocumentComponent.cpp

+ 3
- 0
src/interfaces/components/DocumentComponent.cpp 查看文件

@@ -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)) {

正在加载...
取消
保存