Remove redundant Grid.position alias, keep only Grid.pos, closes #308
Grid.position was a redundant alias for Grid.pos. Removed get_position/ set_position functions, getsetters entry, and setProperty/getProperty/ hasProperty branches. Updated all tests to use grid.pos. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c15d836e79
commit
354faca838
12 changed files with 28 additions and 51 deletions
|
|
@ -121,7 +121,7 @@ def visual_test(timer, runtime):
|
|||
# Set up minimal UI for visual test
|
||||
ui = astar_test.children
|
||||
ui.append(grid)
|
||||
grid.position = (50, 50)
|
||||
grid.pos = (50, 50)
|
||||
grid.size = (400, 400)
|
||||
|
||||
astar_test.activate()
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ def check_visual(timer, runtime):
|
|||
# Set up minimal UI to test rendering
|
||||
ui = test.children
|
||||
ui.append(grid)
|
||||
grid.position = (50, 50)
|
||||
grid.pos = (50, 50)
|
||||
grid.size = (250, 250)
|
||||
|
||||
test.activate()
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ print(f" Visible cells after move: {visible_count}")
|
|||
# Set up UI
|
||||
ui = visibility_test.children
|
||||
ui.append(grid)
|
||||
grid.position = (50, 50)
|
||||
grid.pos = (50, 50)
|
||||
grid.size = (600, 450) # 20*30, 15*30
|
||||
|
||||
# Add title
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ if path:
|
|||
# Set up UI
|
||||
ui = visual_test.children
|
||||
ui.append(grid)
|
||||
grid.position = (50, 50)
|
||||
grid.pos = (50, 50)
|
||||
grid.size = (250, 250)
|
||||
|
||||
# Add title
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue