Skip to content

Commit

Permalink
Fixed overdraw in header
Browse files Browse the repository at this point in the history
  • Loading branch information
texodus committed Oct 30, 2019
1 parent 7fc529e commit 3cc996d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fin-hypergrid",
"version": "3.2.1",
"name": "faux-hypergrid",
"version": "3.2.2",
"description": "Canvas-based high-performance grid",
"main": "src/Hypergrid",
"repository": {
Expand Down
6 changes: 6 additions & 0 deletions src/Hypergrid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,12 @@ var Hypergrid = Base.extend('Hypergrid', {
while (div.hasChildNodes()) { div.removeChild(div.firstChild); }

Hypergrid.grids.splice(Hypergrid.grids.indexOf(this), 1);

delete this.div;
delete this.canvas.div;
delete this.canvas.canvas;
delete this.sbVScroller;
delete this.sbHScroller;
},


Expand Down
1 change: 0 additions & 1 deletion src/behaviors/Column.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ Column.prototype = {
*/
set header(header) {
this.schema.header = header;
this.behavior.grid.repaint();
},
get header() {
return this.schema.header;
Expand Down

0 comments on commit 3cc996d

Please sign in to comment.