Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: samples/swarm/swarm_ui_lib/touch/Scroller.dart

Issue 12605003: Converting Element.client*, offset* and Screen.avail* over to Rects (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/swarm/swarm_ui_lib/layout/ViewLayout.dart ('k') | samples/swarm/swarm_ui_lib/view/PagedViews.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/swarm/swarm_ui_lib/touch/Scroller.dart
diff --git a/samples/swarm/swarm_ui_lib/touch/Scroller.dart b/samples/swarm/swarm_ui_lib/touch/Scroller.dart
index 7e42e757c21fa4bb9e54cbf71da4dc81d1ce7a1f..2ba480ab88a11901aecdb0ed7cc1058a01e25fab 100644
--- a/samples/swarm/swarm_ui_lib/touch/Scroller.dart
+++ b/samples/swarm/swarm_ui_lib/touch/Scroller.dart
@@ -560,8 +560,8 @@ class Scroller implements Draggable, MomentumDelegate {
_contentSize = new Size(_element.scrollWidth, _element.scrollHeight);
}
- _scrollSize = new Size(_frame.offsetWidth,
- _frame.offsetHeight);
+ _scrollSize = new Size(_frame.offset.width,
+ _frame.offset.height);
Size adjusted = _getAdjustedContentSize();
_maxPoint = new Coordinate(-_maxOffset.x, -_maxOffset.y);
_minPoint = new Coordinate(
« no previous file with comments | « samples/swarm/swarm_ui_lib/layout/ViewLayout.dart ('k') | samples/swarm/swarm_ui_lib/view/PagedViews.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698