summaryrefslogtreecommitdiffstats
path: root/pkg/gui/types
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2023-10-19 20:13:00 +0200
committerStefan Haller <stefan@haller-berlin.de>2023-12-10 16:03:25 +0100
commitf99c59b6d577c621c424d0d9228073b2df2cdd5d (patch)
tree20ecd6cc38e0be7a678d8a7c42e1a5029ab24460 /pkg/gui/types
parent0fd4983c66df9effac3f065fbfa51030cab9fa98 (diff)
Fall back to WithWaitingStatus if item is scrolled out of view
Diffstat (limited to 'pkg/gui/types')
-rw-r--r--pkg/gui/types/context.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/types/context.go b/pkg/gui/types/context.go
index aca694228..82f03c70f 100644
--- a/pkg/gui/types/context.go
+++ b/pkg/gui/types/context.go
@@ -136,6 +136,7 @@ type IListContext interface {
Context
GetSelectedItemId() string
+ IsItemVisible(item HasUrn) bool
GetList() IList
ViewIndexToModelIndex(int) int
@@ -215,6 +216,7 @@ type IController interface {
type IList interface {
IListCursor
Len() int
+ GetItem(index int) HasUrn
}
type IListCursor interface {