Undo change in ghost RM logic

Put a XXX to indicate that the ghost tile should be replaced with something mor e stable. As it stands, the ghost will appear, potentially at a different position to the RMs actual position
pull/21833/head
Luke Barnard 2017-04-18 15:17:42 +01:00
parent d33afa99ab
commit d38520dfb4
1 changed files with 5 additions and 1 deletions

View File

@ -386,7 +386,11 @@ module.exports = React.createClass({
ret.push(this._getReadMarkerTile(visible));
readMarkerVisible = visible;
isVisibleReadMarker = visible;
} else if (eventId == this.currentGhostEventId) {
}
// XXX: there should be no need for a ghost tile - we should just use a
// a dispatch to start the RM animation.
if (eventId == this.currentGhostEventId) {
// if we're showing an animation, continue to show it.
ret.push(this._getReadMarkerGhostTile());
} else if (!isVisibleReadMarker &&