ui calculator

This commit is contained in:
Ilia Denisov
2026-03-30 19:38:24 +02:00
committed by GitHub
parent 17f366cd6b
commit a7793f5416
37 changed files with 2046 additions and 270 deletions
-3
View File
@@ -11,7 +11,6 @@ import (
type interactiveRaster struct {
widget.BaseWidget
edit *client
min fyne.Size
raster *canvas.Raster
onLayout func(fyne.Size)
@@ -50,7 +49,6 @@ func (r *interactiveRaster) Tapped(ev *fyne.PointEvent) {
func (r *interactiveRaster) TappedSecondary(*fyne.PointEvent) {}
func newInteractiveRaster(
edit *client,
raster *canvas.Raster,
onLayout func(fyne.Size),
onScrolled func(*fyne.ScrollEvent),
@@ -60,7 +58,6 @@ func newInteractiveRaster(
) *interactiveRaster {
r := &interactiveRaster{
raster: raster,
edit: edit,
onLayout: onLayout,
onScrolled: onScrolled,
onDragged: onDragged,