mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-06-25 00:52:09 +08:00
More forgiving selection options
This commit is contained in:
parent
f21cfd45b7
commit
d755ab31f1
@ -19,7 +19,10 @@ struct SelectionOption {
|
||||
static SelectionOption Simple();
|
||||
|
||||
// Style:
|
||||
std::function<void(Pixel& pixel)> transform ;
|
||||
std::function<void(Pixel& pixel)> transform = [](Pixel& pixel) {
|
||||
|
||||
pixel.inverted = true;
|
||||
};
|
||||
|
||||
// Observers:
|
||||
/// Called when the selection changed.
|
||||
|
Loading…
Reference in New Issue
Block a user