瀏覽代碼

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

Loading…
取消
儲存