diff options
| author | Jeff Carr <[email protected]> | 2025-02-05 15:04:40 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-05 15:04:40 -0600 |
| commit | 83e9787e753242ec5418e0228f76356e4e655128 (patch) | |
| tree | e1575b42f7475956b31828c80c9dc9ee93caf96d /structs.go | |
| parent | 85eda6aeb8f6958fc34f677c26e9bfe726382da4 (diff) | |
window drag offset works
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -101,6 +101,8 @@ type guiWidget struct { node *tree.Node // the pointer back to the tree windowFrame *guiWidget // this is the frame for a window widget internal bool // indicates the widget is internal to gocui and should be treated differently + dragW int // when dragging a window, this is the offset to the mouse position + dragH int // when dragging a window, this is the offset to the mouse position hasTabs bool // does the window have tabs? currentTab bool // the visible tab value string // ? |
