Skip to content

Commit

Permalink
fixed qtree scrolling bug
Browse files Browse the repository at this point in the history
  • Loading branch information
stevewirts committed Jul 13, 2015
1 parent 283d5c9 commit 9f31303
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions fin-hypergrid.dev.html
Original file line number Diff line number Diff line change
Expand Up @@ -28322,10 +28322,10 @@
* @param {integer} y - the position in pixels
*/
setScrollPositionY: function(y) {
if (this.scrollPositionY === y) {
if (this.getScrollPositionY() === y) {
return;
}
this.scrollPositionY = y;
this.getDataModel().setScrollPositionY(y);
if (!this.isConnected()) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion fin-hypergrid.min.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions polymer/js/behaviors/fin-hypergrid-behavior-qtree.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,10 @@
* @param {integer} y - the position in pixels
*/
setScrollPositionY: function(y) {
if (this.scrollPositionY === y) {
if (this.getScrollPositionY() === y) {
return;
}
this.scrollPositionY = y;
this.getDataModel().setScrollPositionY(y);
if (!this.isConnected()) {
return;
}
Expand Down
11 changes: 11 additions & 0 deletions starthypertree.vbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Dim shell

set shell=createobject("wscript.shell")

sub execute(cmd)
'shell.Run "cmd.exe /r "&cmd, 0, True
shell.Exec(cmd)
end sub


execute("Setlocal EnableDelayedExpansion & set qhome=%~dp0\q & echo %qhome%)

0 comments on commit 9f31303

Please sign in to comment.