chore: add space between the word card / emoji selector and the overlay message (#3533)
This commit is contained in:
parent
b2625138f0
commit
75ff8cf845
2 changed files with 9 additions and 6 deletions
|
|
@ -264,14 +264,15 @@ class MessageSelectionPositionerState extends State<MessageSelectionPositioner>
|
|||
double get _contentHeight {
|
||||
final messageHeight =
|
||||
_overlayMessageSize?.height ?? originalMessageSize.height;
|
||||
return messageHeight + reactionsHeight + AppConfig.toolbarMenuHeight + 4.0;
|
||||
return messageHeight + reactionsHeight + AppConfig.toolbarMenuHeight + 8.0;
|
||||
}
|
||||
|
||||
double get _overheadContentHeight {
|
||||
return widget.pangeaMessageEvent != null &&
|
||||
widget.overlayController.selectedToken != null
|
||||
? AppConfig.toolbarMaxHeight
|
||||
: 40.0;
|
||||
return (widget.pangeaMessageEvent != null &&
|
||||
widget.overlayController.selectedToken != null
|
||||
? AppConfig.toolbarMaxHeight
|
||||
: 40.0) +
|
||||
4.0;
|
||||
}
|
||||
|
||||
double? get _wordCardLeftOffset {
|
||||
|
|
|
|||
|
|
@ -40,8 +40,10 @@ class OverMessageOverlay extends StatelessWidget {
|
|||
controller.columnWidth -
|
||||
(controller.showDetails ? FluffyThemes.columnWidth : 0),
|
||||
),
|
||||
if (!controller.shouldScroll)
|
||||
if (!controller.shouldScroll) ...[
|
||||
WordCardSwitcher(controller: controller),
|
||||
const SizedBox(height: 4.0),
|
||||
],
|
||||
CompositedTransformTarget(
|
||||
link: MatrixState.pAnyState
|
||||
.layerLinkAndKey(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue