Skip to content

Commit 95bcffb

Browse files
added support for init pseudo id selector
1 parent cf3047c commit 95bcffb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uistylelang/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ def MergeParsedStyles(_id, styles, current_styles):
5757

5858
# Merge the UI Style Lang properties. Any styles that are not
5959
# specified will automatically be the default ones.
60-
for prop in styles[_id]:
61-
styles_dict[prop] = styles[_id][prop]
60+
for prop in styles[_id]["init"]:
61+
styles_dict[prop] = styles[_id]["init"][prop]
6262

6363
# At this point, set the current styles to be the new styles
6464
current_styles[_id] = styles_dict

0 commit comments

Comments
 (0)