Scrollbars can be dragged with the mouse
This commit is contained in:
parent
3e8523f37a
commit
d435f5a6a9
@ -19,6 +19,8 @@ type ScrollContainer struct {
|
|||||||
horizontal struct {
|
horizontal struct {
|
||||||
exists bool
|
exists bool
|
||||||
enabled bool
|
enabled bool
|
||||||
|
dragging bool
|
||||||
|
dragOffset image.Point
|
||||||
gutter image.Rectangle
|
gutter image.Rectangle
|
||||||
bar image.Rectangle
|
bar image.Rectangle
|
||||||
}
|
}
|
||||||