summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.hpp b/src/common.hpp
index 656a370..7221b44 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -266,7 +266,7 @@ namespace interface {
float em;
struct {
- v2f_t center;
+ v2f_t center = v2f_t(0, 0);
int target_zoom = 3;
float zoom = 3.0f;
bool panning = false;