diff options
| author | Jeff Carr <[email protected]> | 2024-01-18 01:49:21 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-18 01:49:21 -0600 |
| commit | 4df2b5ecb8da632aa3afd093c777a2b690909874 (patch) | |
| tree | dd3ac77205846802484d1d8cadd8bfa3fee426b0 | |
| parent | aff82aa4ea8f9e7dcc549afec9218154e1d9c7bd (diff) | |
finally able to lower the delay
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | action.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -95,8 +95,8 @@ func sendActionToPlugin(a *widget.Action) { // safe (thread safe, correct locking, etc). I think it is. Things seem stable // sync.Mutex() locks don't appear to work somehow in a way I don't understand // it's probably due to []string use. use map[] instead - // log.Sleep(.000001) // this delay makes it so SetText() works on initial widget creation - log.Sleep(.002) // this delay makes it so SetText() works on initial widget creation + log.Sleep(.000001) // this delay makes it so SetText() works on initial widget creation + // log.Sleep(.002) // this delay makes it so SetText() works on initial widget creation } } } |
