mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-04 04:30:04 +00:00
* Ctrl+Shift+Drag zoom on mouse position (#538) * Update test expectations [skip ci] --------- Co-authored-by: bymyself <abolkonsky.rem@gmail.com> Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -1245,8 +1245,8 @@ export class ComfyApp {
|
||||
let scale = startScale - deltaY / 100
|
||||
|
||||
this.ds.changeScale(scale, [
|
||||
this.ds.element.width / 2,
|
||||
this.ds.element.height / 2
|
||||
self.zoom_drag_start[0],
|
||||
self.zoom_drag_start[1]
|
||||
])
|
||||
this.graph.change()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user