mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
Animation (#355)
This commit is contained in:
@@ -66,7 +66,7 @@ class InputBase : public ComponentBase {
|
||||
bool hovered = hovered_;
|
||||
Decorator decorator = dim | main_decorator;
|
||||
if (is_focused)
|
||||
decorator = decorator | focus | inverted;
|
||||
decorator = decorator | focus;
|
||||
if (hovered || is_focused)
|
||||
decorator = decorator | inverted;
|
||||
return text(*placeholder_) | decorator | reflect(box_);
|
||||
|
||||
Reference in New Issue
Block a user