Commit 5b8b33da authored by Ell's avatar Ell

app: invert zoom mapping in gegl:panorama-projection gyro controller

parent 5430e779
......@@ -54,7 +54,7 @@ gyroscope_callback (GObject *config,
"pan", -yaw,
"tilt", -pitch,
"spin", -roll,
"zoom", CLAMP (100.0 / zoom, 0.01, 1000.0),
"zoom", CLAMP (100.0 * zoom, 0.01, 1000.0),
"inverse", invert,
NULL);
}
......@@ -86,7 +86,7 @@ config_notify (GObject *config,
set_func (set_data,
area,
-pan, -tilt, -spin,
100.0 / zoom,
zoom / 100.0,
inverse);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment