Convert to spaces, hook up mod enabled to toggle.

This commit is contained in:
Dario
2025-01-16 21:02:13 -03:00
committed by Mr-Wiseguy
parent 37a94b2261
commit de364be072
10 changed files with 1034 additions and 1000 deletions
+4
View File
@@ -157,6 +157,10 @@ void Element::clear_children() {
children.clear();
}
void Element::add_style(Style *style, const std::string_view style_name) {
add_style(style, { style_name });
}
void Element::add_style(Style *style, const std::initializer_list<std::string_view> &style_names) {
for (const std::string_view &style_name : style_names) {
style_name_index_map.emplace(style_name, styles.size());