diff options
| author | Jeff Carr <[email protected]> | 2025-02-08 08:47:55 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-08 08:47:55 -0600 |
| commit | a6c1864f439e16262d9587cbf3c024db07a2e316 (patch) | |
| tree | dc077ac201b07abc220809c4c0aa8e01a86bd204 /structs.go | |
| parent | 1010db44a68542753e9074334868e21d813f85b0 (diff) | |
removed old var
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 21 |
1 files changed, 10 insertions, 11 deletions
@@ -75,17 +75,16 @@ type config struct { // stuff controlling how the mouse works type mouse struct { - down time.Time // when the mouse was pressed down - up time.Time // when the mouse was released. used to detect click vs drag - clicktime time.Duration // how long is too long for a mouse click vs drag - mouseUp bool // is the mouse up? - double bool // user is double clicking - doubletime time.Duration // how long is too long for double click - resize bool // mouse is resizing something - downW int // where the mouse was pressed down - downH int // where the mouse was pressed down - currentDrag *guiWidget // what widget is currently being moved around - globalMouseDown bool // yep, mouse is pressed + down time.Time // when the mouse was pressed down + up time.Time // when the mouse was released. used to detect click vs drag + clicktime time.Duration // how long is too long for a mouse click vs drag + mouseUp bool // is the mouse up? + double bool // user is double clicking + doubletime time.Duration // how long is too long for double click + resize bool // mouse is resizing something + downW int // where the mouse was pressed down + downH int // where the mouse was pressed down + currentDrag *guiWidget // what widget is currently being moved around } // settings for the stdout window |
