Open Bug 2010370 Opened 7 hours ago Updated 1 hour ago

Rename DoZoomEnlargeBy10 and DoZoomReduceBy10 events to DoZoomEnlarge and DoZoomReduce and let the event handlers choose the magnitude to enlarge / reduce

Categories

(Core :: Layout, task)

task

Tracking

()

People

(Reporter: mconley, Unassigned)

Details

The event names prescribe a value to enlarge or reduce the zoom level from. It'd probably be better to centralize the value into a single place - the place where the event is handled - so that the handler gets to choose the increment or behaviour.

This makes even more sense after bug 2008628, which handles these events, but instead of enlarging or reducing by values of 10, it simply moves up and down the list of hardcoded zoom values in viewZoomOverlay.

Component: Panning and Zooming → Layout
You need to log in before you can comment on or make changes to this bug.