ladybird/Userland/Libraries/LibWeb/InvalidateDisplayList.h
Tim Ledbetter 5800b7e884 LibWeb: Invalidate the display list when calling set_needs_display()
Calls to `Document::set_needs_display()` and
`Paintable::set_needs_display()` now invalidate the display list by
default. This behavior can be changed by passing
`InvalidateDisplayList::No` to the function where invalidating the
display list is not necessary.
2024-09-02 20:12:08 +02:00

16 lines
207 B
C++

/*
* Copyright (c) 2024, Tim Ledbetter <tim.ledbetter@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
namespace Web {
enum class InvalidateDisplayList {
Yes,
No,
};
}