Removing prints from reactions_align
This commit is contained in:
@@ -53,11 +53,6 @@ double _portraitAlign(
|
|||||||
num divFactor,
|
num divFactor,
|
||||||
bool hasAttachments,
|
bool hasAttachments,
|
||||||
) {
|
) {
|
||||||
print('INFO - max width: $maxWidth. '
|
|
||||||
'maxHeight: $maxHeight '
|
|
||||||
'shiftFactor: $shiftFactor '
|
|
||||||
'divFactor: $divFactor');
|
|
||||||
|
|
||||||
var result = 0.0;
|
var result = 0.0;
|
||||||
|
|
||||||
// This is an empiric value. This number tries to approximate all the
|
// This is an empiric value. This number tries to approximate all the
|
||||||
@@ -106,16 +101,11 @@ double _landScapeAlign(
|
|||||||
) {
|
) {
|
||||||
var result = 0.0;
|
var result = 0.0;
|
||||||
|
|
||||||
print('INFO - max width: $maxWidth. '
|
|
||||||
'maxHeight: $maxHeight '
|
|
||||||
'shiftFactor: $shiftFactor '
|
|
||||||
'divFactor: $divFactor');
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This is an empiric value. This number tries to approximate all the
|
This is an empiric value. This number tries to approximate all the
|
||||||
offset necessary for the position of reaction look the best way
|
offset necessary for the position of reaction look the best way
|
||||||
possible.
|
possible.
|
||||||
*/
|
*/
|
||||||
const constant = 3000;
|
const constant = 3000;
|
||||||
|
|
||||||
if (user?.id == message.user?.id) {
|
if (user?.id == message.user?.id) {
|
||||||
@@ -133,8 +123,6 @@ double _landScapeAlign(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print('INFO - result landscape: $result');
|
|
||||||
|
|
||||||
// Ensure reactions don't get pushed past the edge of the screen.
|
// Ensure reactions don't get pushed past the edge of the screen.
|
||||||
//
|
//
|
||||||
// This happens if divFactor is really big. When this happens, we can simply
|
// This happens if divFactor is really big. When this happens, we can simply
|
||||||
|
|||||||
Reference in New Issue
Block a user