Skip to content

Commit

Permalink
Merge pull request #146 from milikhin/harbour-seabass-fix-editor-height
Browse files Browse the repository at this point in the history
[harbour-seabass] fix setting editor height on app startup
  • Loading branch information
milikhin authored Jul 18, 2022
2 parents 526e8e2 + b26315a commit 1f50a5c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion editor/src/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ class SeabassApp {
*/
_onViewportChange (evt: CustomEvent<ViewportOptions>): void {
this._model.setViewportOptions(evt.detail)
this._forwardEvent(evt)
}

/**
Expand Down
1 change: 1 addition & 0 deletions harbour-seabass/qml/pages/Editor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ WebViewPage {
onAppLoaded: function (data) {
toolbar.open = data.isToolbarOpened || false
editorState.loadTheme()
editorState.updateViewport()
}

onErrorOccured: function (message) {
Expand Down
2 changes: 1 addition & 1 deletion harbour-seabass/rpm/harbour-seabass.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name: harbour-seabass

Summary: Seabass
Version: 0.9.2
Release: 1
Release: 2
Group: Qt/Qt
License: LICENSE
BuildArch: noarch
Expand Down
2 changes: 1 addition & 1 deletion harbour-seabass/rpm/harbour-seabass.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Name: harbour-seabass
Summary: Seabass
Version: 0.9.2
Release: 1
Release: 2
# The contents of the Group field should be one of the groups listed here:
# https://github.com/mer-tools/spectacle/blob/master/data/GROUPS
Group: Qt/Qt
Expand Down

0 comments on commit 1f50a5c

Please sign in to comment.