You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know this is the private editor api but thought it worth flagging as it's something we run into whilst developing a PC chrome extension;
In the Code Editor api, there is a method assets:create:script which subsequently calls assets:create with a third boolean parameter noSelect which if I'm correct, should create a script but then optionally select it in the tree view after it's created. The function for assets:create however ignores this parameter and continues to select it by default regardless of the noSelect
Steps to repro:
In the code editor console dropthe following: editor.call('assets:create:script', { noSelect: true })
Note how the script is created and also selected ignoring the noSelect param
I know this is the private editor api but thought it worth flagging as it's something we run into whilst developing a PC chrome extension;
In the Code Editor api, there is a method
assets:create:script
which subsequently callsassets:create
with a third boolean parameternoSelect
which if I'm correct, should create a script but then optionally select it in the tree view after it's created. The function forassets:create
however ignores this parameter and continues to select it by default regardless of thenoSelect
Steps to repro:
In the code editor console dropthe following:
editor.call('assets:create:script', { noSelect: true })
Note how the script is created and also selected ignoring the noSelect param
I believe that line 8645 in the compiled code editor script should only execute if
args.noSelect
is trueThe text was updated successfully, but these errors were encountered: