mirror of https://github.com/vector-im/riot-web
Make read marker ghost same width as normal one.
parent
c54004286b
commit
11025e2ba9
|
@ -839,7 +839,7 @@ module.exports = React.createClass({
|
||||||
// is the last element or not, because we only decide as we're going along.
|
// is the last element or not, because we only decide as we're going along.
|
||||||
if (readMarkerIndex === undefined && ghostIndex && ghostIndex <= ret.length) {
|
if (readMarkerIndex === undefined && ghostIndex && ghostIndex <= ret.length) {
|
||||||
var hr;
|
var hr;
|
||||||
hr = (<hr className="mx_RoomView_myReadMarker" style={{opacity: 1, width: '85%'}} ref={function(n) {
|
hr = (<hr className="mx_RoomView_myReadMarker" style={{opacity: 1, width: '99%'}} ref={function(n) {
|
||||||
Velocity(n, {opacity: '0', width: '10%'}, {duration: 400, easing: 'easeInSine', delay: 1000, complete: function() {
|
Velocity(n, {opacity: '0', width: '10%'}, {duration: 400, easing: 'easeInSine', delay: 1000, complete: function() {
|
||||||
self.setState({readMarkerGhostEventId: undefined});
|
self.setState({readMarkerGhostEventId: undefined});
|
||||||
}});
|
}});
|
||||||
|
|
Loading…
Reference in New Issue