Make read marker ghost same width as normal one.
This commit is contained in:
parent
c54004286b
commit
11025e2ba9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue