Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7323)

Issue 8961044: Simplify zoom, fix in FF.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 12 months ago by matthew.scott
Modified:
10 years, 12 months ago
Reviewers:
jeff.pihach, gary.poster, mp+160970
Visibility:
Public.

Description

Simplify zoom, fix in FF. - Greatly simplify zoom behavior with mousewheel by relying on work that D3 already does in regards to pan/zoom. - Mousewheel zoom now works in firefox - differing event types from webkit weren't being handled in our code. - Get rid of magic numbers for min/max values. https://code.launchpad.net/~makyo/juju-gui/fffff-mousewheel/+merge/160970 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : Simplify zoom, fix in FF. #

Patch Set 3 : Simplify zoom, fix in FF. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -33 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/topology/panzoom.js View 1 2 4 chunks +16 lines, -25 lines 0 comments Download
M app/views/topology/topology.js View 3 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 4
matthew.scott
Please take a look.
10 years, 12 months ago (2013-04-25 17:56:49 UTC) #1
gary.poster
LGTM! I can verify that (1) it WFM in Chrome, FF, and IE 10; and ...
10 years, 12 months ago (2013-04-25 18:09:24 UTC) #2
jeff.pihach
LGTM - Thanks a lot for this fix! https://codereview.appspot.com/8961044/diff/1/app/views/topology/panzoom.js File app/views/topology/panzoom.js (right): https://codereview.appspot.com/8961044/diff/1/app/views/topology/panzoom.js#newcode99 app/views/topology/panzoom.js:99: if ...
10 years, 12 months ago (2013-04-25 20:16:13 UTC) #3
matthew.scott
10 years, 12 months ago (2013-04-25 20:50:41 UTC) #4
*** Submitted:

Simplify zoom, fix in FF.

- Greatly simplify zoom behavior with mousewheel by relying on work that D3
already does in regards to pan/zoom.
- Mousewheel zoom now works in firefox - differing event types from webkit
weren't being handled in our code.
- Get rid of magic numbers for min/max values.

R=gary.poster, jeff.pihach
CC=
https://codereview.appspot.com/8961044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b