mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02:00
chatview: fix issue with layout stacking
When the conversationview was resized horizontally to be small enough so that only one pane is visible, the chatview header and footer would be visible, but clicking them would interact with the objects of the pane below (the left side panel) GitLab: #1868 Change-Id: Ic1fac91ef30fcc3078223e1705f10c8a112c2091
This commit is contained in:
parent
7e926a3e23
commit
5186c27325
1 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,14 @@ import "../js/pluginhandlerpickercreation.js" as PluginHandlerPickerCreation
|
|||
Rectangle {
|
||||
id: root
|
||||
|
||||
// HACK: Added to capture the mouse when the layouts start stacking.
|
||||
// The header and footer we're unable to be interacted with otherwise.
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
propagateComposedEvents: false
|
||||
enabled: viewCoordinator.isInSinglePaneMode
|
||||
}
|
||||
|
||||
// An enum to make the details panels more readable.
|
||||
enum ExtrasPanel {
|
||||
SwarmDetailsPanel,
|
||||
|
|
Loading…
Add table
Reference in a new issue