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