mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-22 15:54:09 +00:00
fix in roundRect
This commit is contained in:
@@ -10194,8 +10194,8 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
|
||||
//API *************************************************
|
||||
//like rect but rounded corners
|
||||
if (global.CanvasRenderingContext2D) {
|
||||
global.CanvasRenderingContext2D.prototype.roundRect = function(
|
||||
if (typeof(window) != "undefined" && window.CanvasRenderingContext2D) {
|
||||
window.CanvasRenderingContext2D.prototype.roundRect = function(
|
||||
x,
|
||||
y,
|
||||
width,
|
||||
|
||||
Reference in New Issue
Block a user