_end_drag now calculates the target grid cell from the module's visual top-left position (mouse_pos - grab_offset) instead of the raw mouse position. This prevents multi-cell tiles from jumping an extra cell when grabbed near an edge.
32 lines
243 B
INI
32 lines
243 B
INI
[layout]
|
|
|
|
name="Main"
|
|
saved_at="2026-05-21T09:09:37"
|
|
|
|
[tiles]
|
|
|
|
count=3
|
|
|
|
[tile_0]
|
|
|
|
id="system_monitor/cpu"
|
|
col=0
|
|
row=0
|
|
w=1
|
|
h=1
|
|
|
|
[tile_1]
|
|
|
|
id="system_monitor/memory"
|
|
col=1
|
|
row=0
|
|
w=1
|
|
h=1
|
|
|
|
[tile_2]
|
|
|
|
id="system_monitor/testing"
|
|
col=2
|
|
row=0
|
|
w=1
|
|
h=2
|