diff options
author | bobzel <zzzman@gmail.com> | 2024-10-01 15:57:57 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-01 15:57:57 -0400 |
commit | 8d7bf0588ca63c2d505a494865dcf9921eb1383d (patch) | |
tree | 7ecfb7535513a03e9dca5271d5053f47bd87c038 /src/client/views/smartdraw/SmartDrawHandler.tsx | |
parent | fe3c2d841b8c112f7f22ac9f7209d46b0c6b9669 (diff) |
more lint fixes
Diffstat (limited to 'src/client/views/smartdraw/SmartDrawHandler.tsx')
-rw-r--r-- | src/client/views/smartdraw/SmartDrawHandler.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/smartdraw/SmartDrawHandler.tsx b/src/client/views/smartdraw/SmartDrawHandler.tsx index 76bfe2a19..75ef55060 100644 --- a/src/client/views/smartdraw/SmartDrawHandler.tsx +++ b/src/client/views/smartdraw/SmartDrawHandler.tsx @@ -50,6 +50,7 @@ export interface DrawingOptions { @observer export class SmartDrawHandler extends ObservableReactComponent<object> { + // eslint-disable-next-line no-use-before-define static Instance: SmartDrawHandler; private _lastInput: DrawingOptions = { text: '', complexity: 5, size: 350, autoColor: true, x: 0, y: 0 }; @@ -395,7 +396,7 @@ export class SmartDrawHandler extends ObservableReactComponent<object> { defaultChecked={true} value={this._autoColor} size="small" - onChange={action(e => this._canInteract && (this._autoColor = !this._autoColor))} + onChange={action(() => this._canInteract && (this._autoColor = !this._autoColor))} /> </div> <div className="complexity"> |