refactor: replace ResolutionMultiplier with ABSwitch node, clean up constants
This commit is contained in:
+5
-9
@@ -73,16 +73,12 @@ POST_PROCESS_CATEGORY = "post_process"
|
||||
PROMPT_TOOLS_CATEGORY = "prompt_tools"
|
||||
VIDEO_CATEGORY = "video"
|
||||
|
||||
# Math node constants
|
||||
DEFAULT_MULTIPLIER_VALUE = 32
|
||||
MIN_MULTIPLIER_VALUE = 1
|
||||
MAX_MULTIPLIER_VALUE = 1024
|
||||
MULTIPLIER_VALUE_STEP = 1
|
||||
# A B Switch node constants
|
||||
DEFAULT_AB_VALUE = 512
|
||||
MIN_AB_VALUE = 32
|
||||
MAX_AB_VALUE = 4096
|
||||
|
||||
DEFAULT_INCREMENT = 1
|
||||
MIN_INCREMENT = 1
|
||||
MAX_INCREMENT = 100
|
||||
INCREMENT_STEP = 1
|
||||
DEFAULT_DIVISOR = 32
|
||||
|
||||
# Phone screen resolutions
|
||||
PHONE_RESOLUTIONS = {
|
||||
|
||||
Reference in New Issue
Block a user