From 8c6b2fa78904621ade6cfb27d8a969622422eb99 Mon Sep 17 00:00:00 2001 From: Drew Weymouth Date: Tue, 14 Mar 2023 10:15:06 -0700 Subject: [PATCH] delete unused ThickSeparator --- ui/widgets/thickseparator.go | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 ui/widgets/thickseparator.go diff --git a/ui/widgets/thickseparator.go b/ui/widgets/thickseparator.go deleted file mode 100644 index 95a1fcb..0000000 --- a/ui/widgets/thickseparator.go +++ /dev/null @@ -1,28 +0,0 @@ -package widgets - -import ( - "fyne.io/fyne/v2" - "fyne.io/fyne/v2/canvas" - "fyne.io/fyne/v2/theme" - "fyne.io/fyne/v2/widget" -) - -type ThickSeparator struct { - widget.BaseWidget - line canvas.Line -} - -func NewThickSeparator() *ThickSeparator { - t := &ThickSeparator{ - line: canvas.Line{ - StrokeWidth: 3, - StrokeColor: theme.DisabledColor(), - }, - } - t.ExtendBaseWidget(t) - return t -} - -func (t *ThickSeparator) CreateRenderer() fyne.WidgetRenderer { - return widget.NewSimpleRenderer(&t.line) -}