дзеркало
https://github.com/KokaKiwi/BarInsta
синхронізовано 2026-04-03 01:21:37 +00:00
Fix wrong dimensions calculated due to last minute variable name change
Цей коміт міститься в:
джерело
b5e66e35bf
коміт
d6e927a8be
1 змінених файлів з 1 додано та 1 видалено
|
|
@ -59,7 +59,7 @@ public final class NumberUtils {
|
|||
public static Pair<Integer, Integer> calculateWidthHeight(final int height, final int width, final int maxHeight, final int maxWidth) {
|
||||
int tempWidth = NumberUtils.getResultingWidth(maxHeight, height, width);
|
||||
int tempHeight = maxHeight;
|
||||
if (width > maxWidth) {
|
||||
if (tempWidth > maxWidth) {
|
||||
tempHeight = NumberUtils.getResultingHeight(maxWidth, height, width);
|
||||
tempWidth = maxWidth;
|
||||
}
|
||||
|
|
|
|||
Завантаження…
Додати таблицю
Додати посилання
Послатися в новій задачі