mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
LIbVT: Fix copy paste regression I introduced in #13102
I accidentally inverted this behavior in commit 2042d909972 Previously it read: ```cpp constexpr bool is_untouched() const { return !(flags & Touched); } ```
This commit is contained in:
parent
b8cc18896f
commit
0998074230
Notes:
sideshowbarker
2024-07-17 17:01:35 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/0998074230 Pull-request: https://github.com/SerenityOS/serenity/pull/13162
@ -55,7 +55,7 @@ struct Attribute {
|
||||
constexpr Color effective_background_color() const { return has_flag(flags, Flags::Negative) ? foreground_color : background_color; }
|
||||
constexpr Color effective_foreground_color() const { return has_flag(flags, Flags::Negative) ? background_color : foreground_color; }
|
||||
|
||||
constexpr bool is_untouched() const { return has_flag(flags, Flags::Touched); }
|
||||
constexpr bool is_untouched() const { return !has_flag(flags, Flags::Touched); }
|
||||
|
||||
Flags flags { Flags::NoAttributes };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user