Skip to content

Commit 3c0d1df

Browse files
committed
Fine tuning scale parameter
1 parent ec1548c commit 3c0d1df

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

devlog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Quality of life changes, and a better camera!
2+
3+
In my latest ship, some people pointed out that

src/interactions/interactions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ EM_BOOL browser_resize_callback(int event_type, const EmscriptenUiEvent* ui_even
142142
GLFWwindow* window = static_cast<GLFWwindow*>(data);
143143
const double width = ui_event->windowInnerWidth;
144144
const double height = ui_event->windowInnerHeight;
145-
const double ratio = 2;
145+
const double ratio = 1.9;
146146

147147
emscripten_set_canvas_element_size("#canvas", width * ratio, height * ratio);
148148

0 commit comments

Comments
 (0)