Adding back lines that were removed by mistake, fixes mouse double click to select

This commit is contained in:
Bakkeby 2024-03-11 22:49:20 +01:00
parent 7976e611e3
commit a28f3e0d39
1 changed files with 4 additions and 0 deletions

4
st.c
View File

@ -454,6 +454,10 @@ selstart(int col, int row, int snap)
sel.oe.x = sel.ob.x = col; sel.oe.x = sel.ob.x = col;
sel.oe.y = sel.ob.y = row; sel.oe.y = sel.ob.y = row;
selnormalize(); selnormalize();
if (sel.snap != 0)
sel.mode = SEL_READY;
tsetdirt(sel.nb.y, sel.ne.y);
} }
void void