chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5153b4
)
fix a funny style
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 3 Oct 2020 11:06:51 +0000
(12:06 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 3 Oct 2020 11:06:51 +0000
(12:06 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/script.ts
patch
|
blob
|
history
diff --git
a/templates/script.ts
b/templates/script.ts
index 940bed1e48a69c480d1b129d5d9cdf095a5d4b27..8793f0b7d9e57cd30eccc152f23c4e1fb32b3503 100644
(file)
--- a/
templates/script.ts
+++ b/
templates/script.ts
@@
-666,10
+666,10
@@
function piece_modify(piece: PieceId, p: PieceInfo, info: PieceStateMessage,
p.uelem.setAttributeNS(null, "y", info.pos[1]+"");
p.held = info.held;
p.pinned = info.pinned;
+ p.uos = info.uos;
piece_set_zlevel(piece,p, (oldtop_piece)=>{
p.z = info.z;
p.zg = info.zg;
- p.uos = info.uos;
});
piece_checkconflict_nrda(piece,p,conflict_expected);
redisplay_ancillaries(piece,p);