mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
enshort contains construction, drop debug print
This commit is contained in:
parent
6a04692ad3
commit
07d952ea7e
1 changed files with 1 additions and 2 deletions
|
|
@ -60,8 +60,7 @@ impl Widget {
|
||||||
// to simply overwrite current request with new value
|
// to simply overwrite current request with new value
|
||||||
// Note:
|
// Note:
|
||||||
// * Custom GestureClick is not option here, as GTK Entry already has default one
|
// * Custom GestureClick is not option here, as GTK Entry already has default one
|
||||||
println!("{:?}", state);
|
if state.contains(StateFlags::ACTIVE | StateFlags::FOCUS_WITHIN) {
|
||||||
if state.contains(StateFlags::ACTIVE) && state.contains(StateFlags::FOCUS_WITHIN) {
|
|
||||||
// Continue on first focus event
|
// Continue on first focus event
|
||||||
if this.selection_bounds().is_none() {
|
if this.selection_bounds().is_none() {
|
||||||
this.select_region(0, this.text_length().into());
|
this.select_region(0, this.text_length().into());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue