mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-17 07:50:04 +00:00
LibWeb+WebContent: Delete unused "has focus" flag from paint config
This commit is contained in:
parent
418409aa6f
commit
b73525ba0e
Notes:
github-actions[bot]
2025-07-04 14:14:20 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: b73525ba0e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5259
Reviewed-by: https://github.com/gmta ✅
7 changed files with 0 additions and 11 deletions
|
@ -6494,7 +6494,6 @@ RefPtr<Painting::DisplayList> Document::record_display_list(PaintConfig config)
|
|||
context.set_device_viewport_rect(viewport_rect);
|
||||
context.set_should_show_line_box_borders(config.should_show_line_box_borders);
|
||||
context.set_should_paint_overlay(config.paint_overlay);
|
||||
context.set_has_focus(config.has_focus);
|
||||
|
||||
update_paint_and_hit_testing_properties_if_needed();
|
||||
|
||||
|
|
|
@ -835,7 +835,6 @@ public:
|
|||
struct PaintConfig {
|
||||
bool paint_overlay { false };
|
||||
bool should_show_line_box_borders { false };
|
||||
bool has_focus { false };
|
||||
Optional<Gfx::IntRect> canvas_fill_rect {};
|
||||
|
||||
bool operator==(PaintConfig const& other) const = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue