Implement new delegate behaviour on ReadMarkerDelegate

Make sure that the messgae hover buttons account for the delegate x displacement
This commit is contained in:
James Graham
2022-07-06 19:52:25 +01:00
parent f0d832f756
commit 5fb311b509
3 changed files with 38 additions and 3 deletions

View File

@@ -56,6 +56,7 @@ QQC2.ItemDelegate {
// updates the global hover component to point to this delegate, and update its position
function updateHoverComponent() {
if (hoverComponent) {
hoverComponent.delegate = messageDelegate
hoverComponent.bubble = bubble
hoverComponent.updateFunction = updateHoverComponent;
hoverComponent.event = model