Remove eraser when there's nothing to erase
This commit is contained in:
parent
eb7d92d1e0
commit
d384fe6acc
1 changed files with 1 additions and 0 deletions
|
|
@ -2245,6 +2245,7 @@ namespace gmtk
|
|||
|
||||
geom::point<float, 2> pen = view_box_.corner(1, 1) - geom::vector{step, step} / 2.f;
|
||||
|
||||
if (map_.cards.size() > 1)
|
||||
for (auto type : card_type_values())
|
||||
{
|
||||
if (!map_.cards.contains(type))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue