change mouse resize
This commit is contained in:
parent
c6268d52b2
commit
7e39169654
@ -1096,7 +1096,13 @@ export default function Editor() {
|
||||
{file === undefined ? renderFileSelect() : renderCanvas()}
|
||||
|
||||
{showBrush && !isInpainting && !isPanning && (
|
||||
<div className="brush-shape" style={getBrushStyle(x, y)} />
|
||||
<div
|
||||
className="brush-shape"
|
||||
style={getBrushStyle(
|
||||
isChangingBrushSizeByMouse ? changeBrushSizeByMouseInit.x : x,
|
||||
isChangingBrushSizeByMouse ? changeBrushSizeByMouseInit.y : y
|
||||
)}
|
||||
/>
|
||||
)}
|
||||
|
||||
{showRefBrush && (
|
||||
|
Loading…
Reference in New Issue
Block a user