mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +00:00
[backport core/1.36] fix: remove negative margin from legacy widget canvas (#8012)
Backport of #7925 to `core/1.36` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8012-backport-core-1-36-fix-remove-negative-margin-from-legacy-widget-canvas-2e76d73d365081ba9bc2d710eb58c8fc) 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