change mouse resize
This commit is contained in:
parent
c6268d52b2
commit
7e39169654
@ -1096,7 +1096,13 @@ export default function Editor() {
|
|||||||
{file === undefined ? renderFileSelect() : renderCanvas()}
|
{file === undefined ? renderFileSelect() : renderCanvas()}
|
||||||
|
|
||||||
{showBrush && !isInpainting && !isPanning && (
|
{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 && (
|
{showRefBrush && (
|
||||||
|
Loading…
Reference in New Issue
Block a user