Skip to content

Commit

Permalink
#7686 remove throttling from TableDisplay fitVieport method (#7695)
Browse files Browse the repository at this point in the history
* #7686 remove throttling from TableDisplay fitVieport method

* #7686 remove unused variable
  • Loading branch information
Mariusz Jurowicz authored and LeeTZ committed Jul 17, 2018
1 parent a584718 commit fcb0abf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/notebook/src/tableDisplay/dataGrid/DataGridResize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import {DataGridHelpers} from "./dataGridHelpers";
import {selectColumnWidth} from "./column/selectors";
import getStringSize = DataGridHelpers.getStringSize;
import {ALL_TYPES} from "./dataTypes";
import throttle = DataGridHelpers.throttle;

const DEFAULT_RESIZE_SECTION_SIZE_IN_PX = 6;
const DEFAULT_ROW_PADDING = 4;
Expand All @@ -51,7 +50,7 @@ export class DataGridResize {
this.handleMouseMove = this.handleMouseMove.bind(this);
this.handleMouseUp = this.handleMouseUp.bind(this);
this.fillEmptySpaceResizeFn = this.fillEmptySpaceResizeFn.bind(this);
this.fitVieport = throttle<void, void>(this.fitVieport, 100, this);
this.fitVieport = this.fitVieport.bind(this);

this.installMessageHook();
}
Expand Down

0 comments on commit fcb0abf

Please sign in to comment.