ui redraw on UIlist actions and code cleanup
2.0.9 - fix: prefix/suffix UIlist actions trigger UI redraw to see changes live - changed: PropertyGroups are now registered in their own file - code: cleanup
This commit is contained in:
+4
-10
@@ -3,13 +3,6 @@ from .utils import get_addon_prefs
|
||||
import bpy
|
||||
from pathlib import Path
|
||||
from bpy.types import Panel
|
||||
from bpy.props import (
|
||||
IntProperty,
|
||||
BoolProperty,
|
||||
StringProperty,
|
||||
FloatProperty,
|
||||
EnumProperty,
|
||||
)
|
||||
|
||||
## UI in properties
|
||||
|
||||
@@ -274,9 +267,10 @@ class GPTB_PT_tint_layers(Panel):
|
||||
## pseudo color layers
|
||||
# layout.separator()
|
||||
col = layout.column(align = True)
|
||||
row = col.split(align=False, factor=0.63)
|
||||
row.prop(context.scene.gptoolprops, 'autotint_offset')
|
||||
row.prop(context.scene.gptoolprops, 'autotint_namespace')
|
||||
# row = col.split(align=False, factor=0.63)
|
||||
# row = col.row()
|
||||
col.prop(context.scene.gptoolprops, 'autotint_offset', text='Hue Offset')
|
||||
col.prop(context.scene.gptoolprops, 'autotint_namespace')
|
||||
|
||||
col.operator("gp.auto_tint_gp_layers", icon = "COLOR").reset = False
|
||||
col.operator("gp.auto_tint_gp_layers", text = "Reset tint", icon = "COLOR").reset = True
|
||||
|
||||
Reference in New Issue
Block a user