1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:44:59 +00:00

LibWeb: Refactor input color internal element updates to separate method

This commit is contained in:
Bastiaan van der Plaat 2024-01-18 20:17:47 +01:00 committed by Andreas Kling
parent 5ba8a5ba13
commit c45ba50349
2 changed files with 25 additions and 16 deletions

View file

@ -223,10 +223,12 @@ private:
JS::GCPtr<DOM::Text> m_placeholder_text_node;
JS::GCPtr<DOM::Element> m_inner_text_element;
JS::GCPtr<DOM::Element> m_color_well_element;
JS::GCPtr<DOM::Text> m_text_node;
bool m_checked { false };
void update_color_well_element();
JS::GCPtr<DOM::Element> m_color_well_element;
void update_slider_thumb_element();
JS::GCPtr<DOM::Element> m_slider_thumb;