mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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_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 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 };
|
Flags flags { Flags::NoAttributes };
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue