Commit 374e72f 1 parent bb1ce7b commit 374e72f Copy full SHA for 374e72f
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8289,7 +8289,7 @@ LGraphNode.prototype.executeAction = function(action)
8289
8289
var v = w . value ;
8290
8290
if ( w . options . values )
8291
8291
{
8292
- var values = w . options . values ;
8292
+ var values = w . options . values || { } ;
8293
8293
if ( values . constructor === Function )
8294
8294
values = values ( ) ;
8295
8295
if ( values && values . constructor !== Array )
@@ -10113,7 +10113,7 @@ LGraphNode.prototype.executeAction = function(action)
10113
10113
10114
10114
//API *************************************************
10115
10115
//like rect but rounded corners
10116
- if ( this . CanvasRenderingContext2D ) {
10116
+ if ( window . CanvasRenderingContext2D ) {
10117
10117
CanvasRenderingContext2D . prototype . roundRect = function (
10118
10118
x ,
10119
10119
y ,
You can’t perform that action at this time.
0 commit comments