aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-17 09:34:52 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-17 09:34:52 +0100
commite9d6188092150e310e219d9469a3f15c0267a6a9 (patch)
tree819e5390867ba5e39dc5f1127d397f1978df1ab2
parent3a058b2cfd9ca833b66398c0d4628d4c49c51f0b (diff)
Add move side property to the img element
-rw-r--r--src/components/MoveTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/MoveTable.cpp b/src/components/MoveTable.cpp
index ab05bed..3c2a3be 100644
--- a/src/components/MoveTable.cpp
+++ b/src/components/MoveTable.cpp
@@ -92,7 +92,7 @@ std::uint32_t MoveTable::UpdateMoves(CGEHalfMove *m, std::uint32_t line,
if (status->UseMoveIcons) {
// Image
Element img;
- img.prop = Property::Image | Property::Move;
+ img.prop = move_bound.prop | Property::Image;
img.x = move_bound.x;
img.y = status->MoveHeight * line;
img.width = status->MoveIconWidth;