Minor fix after 10aad5a531

This commit is contained in:
Bruno Perdigão
2024-11-08 17:04:07 -03:00
parent 10aad5a531
commit 2165dbb3fa
@@ -173,7 +173,7 @@ class PolylineOperator:
context.workspace.status_text_set(self.instructions + custom_instructions + self.snap_info)
def handle_lock_axis(self, context, event):
if event.value == "PRESS" and event.type in {"L", "A"}:
if event.value == "PRESS" and event.type == "A":
self.tool_state.lock_axis = False if self.tool_state.lock_axis else True
self.tool_state.snap_angle = self.input_ui.get_number_value("WORLD_ANGLE")
# Round to the closest 5