space/notes: default to more useful note size and padding

This commit is contained in:
mntmn
2020-09-27 23:32:26 +02:00
parent 52ff6e351b
commit d4407556ca
2 changed files with 12 additions and 7 deletions

View File

@@ -1134,8 +1134,6 @@ var SpacedeckSections = {
this.active_space.width =Math.max((parseInt(er.x2/window.innerWidth)+2)*window.innerWidth, window.innerWidth);
this.active_space.height=Math.max((parseInt(er.y2/window.innerHeight)+2)*window.innerHeight, window.innerHeight);
console.log("bounds: ",this.active_space.width,this.active_space.height);
if (this._last_bounds_width != this.active_space.width ||
this._last_bounds_height != this.active_space.height) {
this._last_bounds_width = this.active_space.width;