[Update] Config Window: Dropdown Menu Window. UI Size変更対応(スクロールーバー)
[bugfix] Config Window: Dropdown Menu Window. さらに1pxバグの修正 指定サイズに関わらず、フォントによってheightが変わるので、内部で更に計算して調整。修正。
This commit is contained in:
8
utils.py
8
utils.py
@@ -12,4 +12,10 @@ def get_key_by_value(dictionary, value):
|
||||
return None
|
||||
|
||||
def callFunctionIfCallable(function, *args):
|
||||
if callable(function) is True: function(*args)
|
||||
if callable(function) is True: function(*args)
|
||||
|
||||
def isEven(number):
|
||||
return number % 2 == 0
|
||||
|
||||
def makeEven(number):
|
||||
return number if isEven(number) else number + 1
|
||||
Reference in New Issue
Block a user