Fix: incorrect range of y offset in the Offset function

This commit is contained in:
akaneyu 2025-12-07 15:35:33 +09:00
parent 1f91a2db6f
commit eeaaaf5b29

View File

@ -342,7 +342,7 @@ class IMAGE_EDITOR_PLUS_OT_offset_dialog(bpy.types.Operator):
IMAGE_EDITOR_PLUS_OffsetPropertyGroup.offset_y = \
bpy.props.IntProperty(name='Offset Y', subtype='FACTOR',
min=-width + 1, max=width - 1)
min=-height + 1, max=height - 1)
update_offset_properties(self, context)