Merge pull request #2426 from Irastris/tuner

Fix GraphicsTuner arrows after mod browser PR
This commit is contained in:
TakaRikka
2026-09-11 19:23:05 -07:00
committed by GitHub
+3 -4
View File
@@ -126,12 +126,11 @@ Rml::Element* create_stepped_carousel_root(Rml::Element* parent) {
Rml::Element* create_stepped_carousel_arrow(
Rml::Element* parent, const Rml::String& className, const Rml::String& label) {
auto* doc = parent->GetOwnerDocument();
auto button = doc->CreateElement("button");
auto* button = append(parent, "button");
button->SetClass("stepped-carousel-arrow", true);
button->SetClass(className, true);
append_text(button.get(), label);
return parent->AppendChild(std::move(button));
append_text(button, label);
return button;
}
void update_carousel_arrow_color(Rml::Element* arrow, bool dim) {