Skip to content

Commit 08c120b

Browse files
committed
Start with the currently-set zoom level, not zero
1 parent 6f3b2a5 commit 08c120b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ IMPLEMENT_COMMAND (zoom)
12381238

12391239
const gchar *command = argv_idx (argv, 0);
12401240

1241-
gdouble new_zoom = 0.f;
1241+
gdouble new_zoom = webkit_web_view_get_zoom_level(uzbl.gui.web_view);
12421242

12431243
if (!g_strcmp0 (command, "in")) {
12441244
gdouble step;

0 commit comments

Comments
 (0)