Skip to content

Commit

Permalink
add: update editor widget version with keyevent
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerome Le Saux committed Apr 25, 2024
1 parent 8185b5a commit 2d3a070
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ require (
github.com/esimov/colorquant v1.0.0
github.com/esimov/dithergo v0.0.0-20210215145655-7f9ddf55e848
github.com/jeromelesaux/dsk v0.0.0-20230417191026-0e405580626b
github.com/jeromelesaux/fyne-io v0.0.0-20240423152922-6b0078cfa196
github.com/jeromelesaux/m4client v0.0.0-20230327092026-4e80fd2b1474
github.com/jeromelesaux/zx0 v0.0.0-20220922122216-619a0141f9e0
github.com/mccutchen/palettor v1.0.0
Expand All @@ -35,6 +34,7 @@ require (
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/goki/freetype v1.0.1 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/jeromelesaux/fyne-io v0.0.0-20240425064507-610406c0b788 // indirect
github.com/jsummers/gobmp v0.0.0-20230614200233-a9de23ed2e25 // indirect
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
github.com/muesli/clusters v0.0.0-20200529215643-2700303c1762 // indirect
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ github.com/jeromelesaux/dsk v0.0.0-20230417191026-0e405580626b h1:KMI+CK5VfgVD/k
github.com/jeromelesaux/dsk v0.0.0-20230417191026-0e405580626b/go.mod h1:yF2+YgO/6yWlK932z+qKOU8wY5rrbtsYAPlSXHfxIS8=
github.com/jeromelesaux/fyne-io v0.0.0-20240423152922-6b0078cfa196 h1:UtPAfecWsVfoHk9gn/zWyho7w8UVwIrkgwkRaeJN7XM=
github.com/jeromelesaux/fyne-io v0.0.0-20240423152922-6b0078cfa196/go.mod h1:PHMS7sRywpN563NOk5OKuI4LS6dEo7dZFfvApM6z/AE=
github.com/jeromelesaux/fyne-io v0.0.0-20240424201921-5a02d23e5faf h1:C88j4zAYSBfBSO3wAhlx9xYoiRQRS1aLqGLyhQf8jAk=
github.com/jeromelesaux/fyne-io v0.0.0-20240424201921-5a02d23e5faf/go.mod h1:PHMS7sRywpN563NOk5OKuI4LS6dEo7dZFfvApM6z/AE=
github.com/jeromelesaux/fyne-io v0.0.0-20240425064507-610406c0b788 h1:DJghXRtc3RsXPkKAPL5kwCudNAodL/nKJsqva+20WDE=
github.com/jeromelesaux/fyne-io v0.0.0-20240425064507-610406c0b788/go.mod h1:PHMS7sRywpN563NOk5OKuI4LS6dEo7dZFfvApM6z/AE=
github.com/jeromelesaux/m4client v0.0.0-20200309212559-efb59c22369c/go.mod h1:JO0ijl8YXO6FxogJoC3yAFbBjSAnkwFquc8W6C7k94E=
github.com/jeromelesaux/m4client v0.0.0-20230327092026-4e80fd2b1474 h1:CWtkpA4Q63pkhHWRrd/e98JD4YVZhk3SZu58bUkQsuI=
github.com/jeromelesaux/m4client v0.0.0-20230327092026-4e80fd2b1474/go.mod h1:Xc0HzC2TZ7fbDWyB8LosvziBQ5QvvwVt3xxAIEavWRc=
Expand Down
3 changes: 2 additions & 1 deletion ui/martine-ui/image_tab.go
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ func (m *MartineUI) newImageTransfertTab(me *menu.ImageMenu) *fyne.Container {
edit := editor.NewEditor(me.CpcImage().Image,
editor.MagnifyX2,
me.Palette(),
p, me.SetImagePalette)
p, me.SetImagePalette,
m.window)

d := dialog.NewCustom("Editor", "Ok", edit.NewEditor(), m.window)
size := m.window.Content().Size()
Expand Down

0 comments on commit 2d3a070

Please sign in to comment.