removed print statements

This commit is contained in:
ggurdin 2024-10-08 16:47:48 -04:00
parent 945e82d3b9
commit e80cecd0f2
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

View file

@ -234,7 +234,6 @@ class MessageOverlayController extends State<MessageSelectionOverlay>
final bool hasHeaderOverflow =
messageOffset!.dy < (AppConfig.toolbarMaxHeight + headerHeight);
debugPrint("has header overflow: $hasHeaderOverflow");
final bool hasFooterOverflow = footerHeight > currentBottomOffset;
if (!hasHeaderOverflow && !hasFooterOverflow) return;
@ -258,9 +257,6 @@ class MessageOverlayController extends State<MessageSelectionOverlay>
final totalTopOffset =
animationEndOffset + messageSize!.height + AppConfig.toolbarMaxHeight;
final remainingSpace = screenHeight - totalTopOffset;
debugPrint(
"total top offset: $totalTopOffset, remaining space: $remainingSpace",
);
if (remainingSpace < headerHeight) {
// the overlay could run over the header, so it needs to be shifted down
animationEndOffset -= (headerHeight - remainingSpace);
@ -271,10 +267,6 @@ class MessageOverlayController extends State<MessageSelectionOverlay>
animationEndOffset = footerHeight;
}
debugPrint(
"NIMATION END OFFSET: $animationEndOffset. Footer height: $footerHeight",
);
if (animationEndOffset < footerHeight + toolbarButtonsHeight) {
adjustedMessageHeight = screenHeight -
AppConfig.toolbarMaxHeight -