mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
parent
5fcebd0274
commit
62b795d472
2 changed files with 4 additions and 3 deletions
|
|
@ -40,6 +40,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
### Fixed
|
||||
|
||||
- Fixed resize event messaging by [atterpac](https://github.com/atterpac) in [#3606](https://github.com/wailsapp/wails/pull/3606)
|
||||
- [linux] Fixed theme handling error on NixOS by [tmclane](https://github.com/tmclane) in [#3515)(https://github.com/wailsapp/wails/pull/3515)
|
||||
- Fixed cross volume project install for windows by [atterpac](https://github.com/atterac) in [#3512](https://github.com/wailsapp/wails/pull/3512)
|
||||
- Fixed react template css to show footer by [atterpac](https://github.com/atterpac) in [#3477](https://github.com/wailsapp/wails/pull/3477)
|
||||
|
|
|
|||
|
|
@ -659,11 +659,11 @@ func (w *WebviewWindow) HandleMessage(message string) {
|
|||
case strings.HasPrefix(message, "wails:resize:"):
|
||||
if !w.IsFullscreen() {
|
||||
sl := strings.Split(message, ":")
|
||||
if len(sl) != 2 {
|
||||
w.Error("Unknown message returned from dispatcher: %+v", message)
|
||||
if len(sl) != 3 {
|
||||
w.Error("Unknown message returned from dispatcher", "message", message)
|
||||
return
|
||||
}
|
||||
err := w.startResize(sl[1])
|
||||
err := w.startResize(sl[2])
|
||||
if err != nil {
|
||||
w.Error(err.Error())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue