Browse Source

Fix pinned messages border again

master
Eduard Kuzmenko 3 years ago
parent
commit
0a7e9bc95e
  1. 2
      src/components/chat/pinnedMessageBorder.ts

2
src/components/chat/pinnedMessageBorder.ts

@ -123,7 +123,7 @@ export default class PinnedMessageBorder { @@ -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);
};

Loading…
Cancel
Save