Highlights: anchored dialogs (#12810)

This commit is contained in:
hius07
2024-12-05 18:53:59 +02:00
committed by GitHub
parent cdc0cc58e7
commit ea46d71634
3 changed files with 72 additions and 65 deletions

View File

@@ -339,6 +339,7 @@ function TextViewer:init(reinit)
-- a few things before forwarding them
"touch", "pan", "pan_release",
},
anchor = self.anchor,
self.frame,
}
self[1] = WidgetContainer:new{
@@ -348,6 +349,10 @@ function TextViewer:init(reinit)
}
end
function TextViewer:getContentSize()
return self.movable.dimen
end
function TextViewer:onCloseWidget()
UIManager:setDirty(nil, function()
return "partial", self.frame.dimen