mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
chore(ui): lint
This commit is contained in:
committed by
Kent Keirsey
parent
70cca7a431
commit
db283d21f9
@@ -11,7 +11,7 @@ import { ToolViewButton } from './ToolViewButton';
|
||||
export const ToolChooser: React.FC = () => {
|
||||
return (
|
||||
<>
|
||||
<ButtonGroup isAttached orientation='vertical'>
|
||||
<ButtonGroup isAttached orientation="vertical">
|
||||
<ToolBrushButton />
|
||||
<ToolEraserButton />
|
||||
<ToolRectButton />
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { deepClone } from 'common/util/deepClone';
|
||||
import type { CanvasEntityBufferObjectRenderer } from 'features/controlLayers/konva/CanvasEntity/CanvasEntityBufferObjectRenderer';
|
||||
import { CanvasEntityObjectRenderer } from 'features/controlLayers/konva/CanvasEntity/CanvasEntityObjectRenderer';
|
||||
import type { CanvasEntityObjectRenderer } from 'features/controlLayers/konva/CanvasEntity/CanvasEntityObjectRenderer';
|
||||
import type { CanvasManager } from 'features/controlLayers/konva/CanvasManager';
|
||||
import { CanvasModuleBase } from 'features/controlLayers/konva/CanvasModuleBase';
|
||||
import { getSVGPathDataFromPoints } from 'features/controlLayers/konva/util';
|
||||
@@ -62,7 +62,7 @@ export class CanvasObjectEraserLineWithPressure extends CanvasModuleBase {
|
||||
data: getSVGPathDataFromPoints(points, {
|
||||
size: strokeWidth / 2,
|
||||
simulatePressure: false,
|
||||
last: this.parent instanceof CanvasEntityObjectRenderer,
|
||||
last: true,
|
||||
thinning: 1,
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user