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

Unified Diff: samples/swarm/Views.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 | « no previous file | samples/swarm/swarm_ui_lib/layout/ViewLayout.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/swarm/Views.dart
diff --git a/samples/swarm/Views.dart b/samples/swarm/Views.dart
index ea9662b1db91959cba17a035a1b5b23c92fa8246..685894442cbfc0645a025d570c395ebb8e5a3bca 100644
--- a/samples/swarm/Views.dart
+++ b/samples/swarm/Views.dart
@@ -290,7 +290,7 @@ class GenericListView<D> extends View {
void onResize() {
int lastViewLength = _viewLength;
window.setImmediate(() {
- _viewLength = _vertical ? node.offsetHeight : node.offsetWidth;
+ _viewLength = _vertical ? node.offset.height : node.offset.width;
if (_viewLength != lastViewLength) {
if (_scrollbar != null) {
_scrollbar.refresh();
« no previous file with comments | « no previous file | samples/swarm/swarm_ui_lib/layout/ViewLayout.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698