mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix color view piece size
This commit is contained in:
parent
0c99c730c7
commit
f67b496bba
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ def draw_checkerboard_tile(piece_size=None, color_1=None, color_2=None):
|
|||
if piece_size is None:
|
||||
piece_size = 7
|
||||
|
||||
# Make sure piece size is not float
|
||||
piece_size = int(piece_size)
|
||||
if color_1 is None:
|
||||
color_1 = QtGui.QColor(188, 188, 188)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue