add brush preview
This commit is contained in:
parent
4430d6d125
commit
37520f34f7
7 changed files with 167 additions and 22 deletions
|
@ -47,6 +47,7 @@ export class ResizeHandle extends HTMLElement {
|
|||
let mouseDown = await listen([this, "mousedown"]);
|
||||
let startingSize = this.size;
|
||||
if (mouseDown.button == 0) {
|
||||
mouseDown.preventDefault();
|
||||
this.classList.add("dragging");
|
||||
|
||||
while (true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue