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:
parent
5ba8a5ba13
commit
c45ba50349
2 changed files with 25 additions and 16 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue