mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-10 18:10:08 +00:00
[backport cloud/1.36] fix: remove negative margin from legacy widget canvas (#8013)
Backport of #7925 to `cloud/1.36` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8013-backport-cloud-1-36-fix-remove-negative-margin-from-legacy-widget-canvas-2e76d73d3650818a983bf2ed6095e599) by [Unito](https://www.unito.io) Co-authored-by: Terry Jia <terryjia88@gmail.com>
This commit is contained in:
@@ -104,7 +104,7 @@ function handleMove(e: PointerEvent) {
|
||||
>
|
||||
<canvas
|
||||
ref="canvasEl"
|
||||
class="absolute mt-[-13px] w-full cursor-crosshair"
|
||||
class="absolute w-full cursor-crosshair"
|
||||
@pointerdown="handleDown"
|
||||
@pointerup="handleUp"
|
||||
@pointermove="handleMove"
|
||||
|
||||
Reference in New Issue
Block a user