mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb: Refactor input color internal element updates to separate method
This commit is contained in:
parent
5ba8a5ba13
commit
c45ba50349
Notes:
sideshowbarker
2024-07-17 10:08:28 +09:00
Author: https://github.com/bplaat
Commit: c45ba50349
Pull-request: https://github.com/SerenityOS/serenity/pull/22848
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