diff --git a/apps/remix-ide/src/app/tabs/runTab/settings.js b/apps/remix-ide/src/app/tabs/runTab/settings.js index bf32b6ec27..cb98a4fedc 100644 --- a/apps/remix-ide/src/app/tabs/runTab/settings.js +++ b/apps/remix-ide/src/app/tabs/runTab/settings.js @@ -75,8 +75,8 @@ class SettingsUI { // - not valid (for ex 4345-54) // - contains only '0's (for ex 0000) copy past or edit valueEl.value = 0 - } - + } + // if giveen value is negative(possible with copy-pasting) set to 0 if (v.lt(0)) valueEl.value = 0 }