Bug 150637

Summary: Web Inspector: Zoom never goes back to 100% size
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web InspectorAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Timothy Hatcher
Reported 2015-10-28 14:37:24 PDT
If you use Command-Plus or Command-Minus you can never get back to 100% scale unless you close and reopen the Inspector. This happens because we scale by multiplying the current zoom by a percentage. That is not undoable by doing the reverse. Instead we should add or subtract from the current zoom level.
Attachments
Patch (1.84 KB, patch)
2015-10-28 14:55 PDT, Timothy Hatcher
no flags
Radar WebKit Bug Importer
Comment 1 2015-10-28 14:37:42 PDT
Timothy Hatcher
Comment 2 2015-10-28 14:55:24 PDT
Joseph Pecoraro
Comment 3 2015-10-28 15:05:46 PDT
Comment on attachment 264252 [details] Patch r=me
WebKit Commit Bot
Comment 4 2015-10-28 15:51:34 PDT
Comment on attachment 264252 [details] Patch Clearing flags on attachment: 264252 Committed r191697: <http://trac.webkit.org/changeset/191697>
WebKit Commit Bot
Comment 5 2015-10-28 15:51:38 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.