Add a ': none;' syntax for disabling area and icon drules #19

Merged
root merged 1 commit from pastk-drule-reset-syntax into master 2023-08-23 02:10:18 +00:00
Member
No description provided.
vng (Migrated from github.com) approved these changes 2023-08-23 02:10:03 +00:00
@ -642,3 +642,3 @@
has_lines = True
if 'icon-image' in st or 'symbol-shape' in st or 'symbol-image' in st:
if 'icon-image' in st and st.get('icon-image') != 'none' or 'symbol-shape' in st or 'symbol-image' in st:
has_icons = True
vng (Migrated from github.com) commented 2023-08-23 02:09:58 +00:00

Hm, just noticed, what do symbol-shape and symbol-image mean? Are they obsolete?

Hm, just noticed, what do symbol-shape and symbol-image mean? Are they obsolete?
pastk reviewed 2023-08-23 18:16:12 +00:00
@ -642,3 +642,3 @@
has_lines = True
if 'icon-image' in st or 'symbol-shape' in st or 'symbol-image' in st:
if 'icon-image' in st and st.get('icon-image') != 'none' or 'symbol-shape' in st or 'symbol-image' in st:
has_icons = True
Author
Member

symbol-shape are for "circles", I don't know if they work, a quick experiment didn't show anything

symbol-image is used in one line only :) so redundant for sure

`symbol-shape` are for "circles", I don't know if they work, a quick experiment didn't show anything `symbol-image` is used in one line only :) so redundant for sure
Sign in to join this conversation.
No description provided.