mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
parent
e2c5dfc06e
commit
1f1d7052a1
3 changed files with 12 additions and 6 deletions
|
@ -209,8 +209,8 @@
|
|||
|
||||
scope.initializeParameterDefinitions = function(){
|
||||
function singleFake(originalValue, window, prefs){
|
||||
let value = parameterFakeTypes[this.type](originalValue, this, window, prefs);
|
||||
let faked = value === originalValue;
|
||||
const value = parameterFakeTypes[this.type](originalValue, this, window, prefs);
|
||||
const faked = value !== originalValue;
|
||||
this.fake = function(){
|
||||
return {value, faked};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue