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

Issue 6720048: Preserve zoom settings in the environment view.

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by frankban
Modified:
11 years, 6 months ago
Reviewers:
benjamin.saller, mp+130087
Visibility:
Public.

Description

Preserve zoom settings in the environment view. The zoom scale and translate are preserved after a scene redraw (e.g. when adding/removing relations, destroying services, navigating to the service view and back to the front page). https://code.launchpad.net/~frankban/juju-gui/preserve-zoom/+merge/130087 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Preserve zoom settings in the environment view. #

Total comments: 2

Patch Set 3 : Preserve zoom settings in the environment view. #

Patch Set 4 : Preserve zoom settings in the environment view. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -5 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M app/views/environment.js View 1 2 5 chunks +30 lines, -5 lines 0 comments Download

Messages

Total messages: 8
frankban
Please take a look.
11 years, 6 months ago (2012-10-17 11:01:11 UTC) #1
matthew.scott
Trainee review by Matthew. Looks good to me and works well. Thanks for the catch ...
11 years, 6 months ago (2012-10-17 14:11:34 UTC) #2
frankban
Please take a look.
11 years, 6 months ago (2012-10-17 14:24:04 UTC) #3
frankban
Thanks for the review Matthew. https://codereview.appspot.com/6720048/diff/1/app/views/environment.js File app/views/environment.js (right): https://codereview.appspot.com/6720048/diff/1/app/views/environment.js#newcode1163 app/views/environment.js:1163: // Store the current ...
11 years, 6 months ago (2012-10-17 14:25:41 UTC) #4
benjamin.saller
LGTM with the minor noted. Thanks https://codereview.appspot.com/6720048/diff/4001/app/views/environment.js File app/views/environment.js (right): https://codereview.appspot.com/6720048/diff/4001/app/views/environment.js#newcode243 app/views/environment.js:243: if (sourceEvent.type === ...
11 years, 6 months ago (2012-10-17 14:35:11 UTC) #5
frankban
Please take a look.
11 years, 6 months ago (2012-10-17 14:55:21 UTC) #6
frankban
Thanks Ben. https://codereview.appspot.com/6720048/diff/4001/app/views/environment.js File app/views/environment.js (right): https://codereview.appspot.com/6720048/diff/4001/app/views/environment.js#newcode243 app/views/environment.js:243: if (sourceEvent.type === 'dblclick' && On 2012/10/17 ...
11 years, 6 months ago (2012-10-17 14:56:54 UTC) #7
frankban
11 years, 6 months ago (2012-10-17 15:49:02 UTC) #8
*** Submitted:

Preserve zoom settings in the environment view.

The zoom scale and translate are preserved after a scene redraw
(e.g. when adding/removing relations, destroying services,
navigating to the service view and back to the front page).

R=matthew.scott, benjamin.saller
CC=
https://codereview.appspot.com/6720048
Sign in to reply to this message.

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