Skip to content
Snippets Groups Projects
Commit 06f95a02 authored by echicken's avatar echicken
Browse files

Reset x and y offset to 0 after clearing frame. Maybe this should be done in Frame.home().

parent 14dc4d87
Branches
Tags
No related merge requests found
......@@ -917,6 +917,8 @@ Frame.prototype.pageup = function() {
Frame.prototype.clear = function (attr) {
if (attr) this.attr = attr;
this.__properties__.data = [];
this.__position__.offset.x = 0;
this.__position__.offset.y = 0;
this.home();
this.invalidate();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment