make the UI fadable to help with decluttering
This commit is contained in:
parent
1d5f234f2c
commit
11f3d5f993
6 changed files with 60 additions and 18 deletions
|
@ -76,6 +76,9 @@ var TimelinePanel = React.createClass({
|
|||
|
||||
// callback which is called when the read-up-to mark is updated.
|
||||
onReadMarkerUpdated: React.PropTypes.func,
|
||||
|
||||
// opacity for dynamic UI fading effects
|
||||
opacity: React.PropTypes.number,
|
||||
},
|
||||
|
||||
statics: {
|
||||
|
@ -861,6 +864,7 @@ var TimelinePanel = React.createClass({
|
|||
stickyBottom={ stickyBottom }
|
||||
onScroll={ this.onMessageListScroll }
|
||||
onFillRequest={ this.onMessageListFillRequest }
|
||||
opacity={ this.props.opacity }
|
||||
/>
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue