mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
LibWeb: Delete m_selected flag from Paintable
This was redundant when Paintable already has `m_selection_state` that could be none.
This commit is contained in:
parent
5b67f17551
commit
d7caa426a0
Notes:
github-actions[bot]
2024-11-14 18:51:50 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: d7caa426a0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2344
9 changed files with 0 additions and 50 deletions
|
@ -62,7 +62,6 @@ public:
|
|||
[[nodiscard]] bool is_absolutely_positioned() const { return m_absolutely_positioned; }
|
||||
[[nodiscard]] bool is_floating() const { return m_floating; }
|
||||
[[nodiscard]] bool is_inline() const { return m_inline; }
|
||||
[[nodiscard]] bool is_selected() const { return m_selected; }
|
||||
[[nodiscard]] CSS::Display display() const;
|
||||
|
||||
template<typename U, typename Callback>
|
||||
|
@ -228,7 +227,6 @@ public:
|
|||
|
||||
SelectionState selection_state() const { return m_selection_state; }
|
||||
void set_selection_state(SelectionState state) { m_selection_state = state; }
|
||||
void set_selected(bool selected) { m_selected = selected; }
|
||||
|
||||
Gfx::AffineTransform compute_combined_css_transform() const;
|
||||
|
||||
|
@ -263,7 +261,6 @@ private:
|
|||
bool m_absolutely_positioned : 1 { false };
|
||||
bool m_floating : 1 { false };
|
||||
bool m_inline : 1 { false };
|
||||
bool m_selected : 1 { false };
|
||||
};
|
||||
|
||||
inline DOM::Node* HitTestResult::dom_node()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue