Fix pinned messages border again
This commit is contained in:
parent
53074eeeb8
commit
0a7e9bc95e
@ -123,7 +123,7 @@ export default class PinnedMessageBorder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// return (index + 1) * barHeight + index * GAP;
|
// 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);
|
//return (barHeight + GAP * 2) / 2 + (index - 2) * (barHeight + GAP);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user