fix: Writing X coord of window position to settings (#1442)
The entry is "hex.builtin.setting.interface.window." but I think it should be "hex.builtin.setting.interface.window.x"
This commit is contained in:
parent
095da62250
commit
ae24ccdfe6
@ -1254,7 +1254,7 @@ namespace hex {
|
|||||||
glfwGetWindowSize(this->m_window, &width, &height);
|
glfwGetWindowSize(this->m_window, &width, &height);
|
||||||
maximized = glfwGetWindowAttrib(this->m_window, GLFW_MAXIMIZED);
|
maximized = glfwGetWindowAttrib(this->m_window, GLFW_MAXIMIZED);
|
||||||
|
|
||||||
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.", x);
|
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.x", x);
|
||||||
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.y", y);
|
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.y", y);
|
||||||
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.width", width);
|
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.width", width);
|
||||||
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.height", height);
|
ContentRegistry::Settings::write("hex.builtin.setting.interface", "hex.builtin.setting.interface.window.height", height);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user