mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Show text on occlusion cards regardless of occludeInactive.
Before this change, on an image occlusion card, a text box was visible during editing but not visible during review. This change makes text visible even if other shapes would be hidden.
This commit is contained in:
parent
76d3237139
commit
6524982029
2 changed files with 4 additions and 3 deletions
|
|
@ -250,6 +250,7 @@ Danilo Spillebeen <spillebeendanilo@gmail.com>
|
|||
Matbe766 <matildabergstrom01@gmail.com>
|
||||
Amanda Sternberg <mandis.sternberg@gmail.com>
|
||||
arold0 <arold0@icloud.com>
|
||||
jariji
|
||||
|
||||
|
||||
********************
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ function drawShapes(
|
|||
strokeWidth: properties.activeBorder.width,
|
||||
});
|
||||
}
|
||||
for (const shape of inactiveShapes.filter((s) => s.occludeInactive)) {
|
||||
for (const shape of inactiveShapes.filter((s) => s.occludeInactive || s.ordinal === 0)) {
|
||||
drawShape({
|
||||
context,
|
||||
size,
|
||||
|
|
|
|||
Loading…
Reference in a new issue