Fix pinned messages border again

This commit is contained in:
Eduard Kuzmenko 2021-07-18 14:12:53 +03:00
parent 53074eeeb8
commit 0a7e9bc95e

View File

@ -123,7 +123,7 @@ export default class PinnedMessageBorder {
}
// return (index + 1) * barHeight + index * GAP;
return index * barHeight - (count - index - 1) * GAP;
return (index - 2) * barHeight + index * GAP;
//return (barHeight + GAP * 2) / 2 + (index - 2) * (barHeight + GAP);
};