Fix zoom and scroll

This commit is contained in:
barsdeveloper
2023-01-04 17:41:36 +01:00
parent f59217ffd9
commit 39cade4879
11 changed files with 67 additions and 173 deletions

View File

@@ -205,7 +205,7 @@ export default class Utility {
}
targetType = type
}
if (targetType && !Utility.isValueOfType(value, targetType)) {
if (targetType && !Utility.isValueOfType(value, targetType, true)) {
value = targetType === BigInt
? BigInt(value)
: new targetType(value)