@@ -1827,16 +1834,18 @@ module.exports = React.createClass({
onLeaveClick={(myMember && myMember.membership === "join") ? this.onLeaveClick : null}
/>
{ auxPanel }
- { topUnreadMessagesBar }
- { messagePanel }
- { searchResultsPanel }
-
-
-
- { statusBar }
+
+ { topUnreadMessagesBar }
+ { messagePanel }
+ { searchResultsPanel }
+
+ { messageComposer }
- { messageComposer }
);
},
diff --git a/src/components/structures/TimelinePanel.js b/src/components/structures/TimelinePanel.js
index e3b3b66f97..2bf8a08b98 100644
--- a/src/components/structures/TimelinePanel.js
+++ b/src/components/structures/TimelinePanel.js
@@ -89,9 +89,6 @@ 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,
-
// maximum number of events to show in a timeline
timelineCap: React.PropTypes.number,
@@ -1157,7 +1154,6 @@ var TimelinePanel = React.createClass({
onScroll={this.onMessageListScroll}
onFillRequest={this.onMessageListFillRequest}
onUnfillRequest={this.onMessageListUnfillRequest}
- opacity={this.props.opacity}
isTwelveHour={this.state.isTwelveHour}
alwaysShowTimestamps={this.state.alwaysShowTimestamps}
className={this.props.className}
diff --git a/src/components/structures/UserSettings.js b/src/components/structures/UserSettings.js
index b69bea9282..7704cce0c7 100644
--- a/src/components/structures/UserSettings.js
+++ b/src/components/structures/UserSettings.js
@@ -271,9 +271,9 @@ module.exports = React.createClass({
MatrixClientPeg.get().on("RoomMember.membership", this._onInviteStateChange);
dis.dispatch({
- action: 'ui_opacity',
- sideOpacity: 0.3,
- middleOpacity: 0.3,
+ action: 'panel_disable',
+ sideDisabled: true,
+ middleDisabled: true,
});
this._refreshFromServer();
@@ -311,9 +311,9 @@ module.exports = React.createClass({
componentWillUnmount: function() {
this._unmounted = true;
dis.dispatch({
- action: 'ui_opacity',
- sideOpacity: 1.0,
- middleOpacity: 1.0,
+ action: 'panel_disable',
+ sideDisabled: false,
+ middleDisabled: false,
});
dis.unregister(this.dispatcherRef);
const cli = MatrixClientPeg.get();
diff --git a/src/components/views/rooms/ForwardMessage.js b/src/components/views/rooms/ForwardMessage.js
index 67e55101e8..b0fba12865 100644
--- a/src/components/views/rooms/ForwardMessage.js
+++ b/src/components/views/rooms/ForwardMessage.js
@@ -30,10 +30,9 @@ module.exports = React.createClass({
componentWillMount: function() {
dis.dispatch({
- action: 'ui_opacity',
- leftOpacity: 1.0,
- rightOpacity: 0.3,
- middleOpacity: 0.5,
+ action: 'panel_disable',
+ rightDisabled: true,
+ middleDisabled: true,
});
},
@@ -43,9 +42,9 @@ module.exports = React.createClass({
componentWillUnmount: function() {
dis.dispatch({
- action: 'ui_opacity',
- sideOpacity: 1.0,
- middleOpacity: 1.0,
+ action: 'panel_disable',
+ sideDisabled: false,
+ middleDisabled: false,
});
document.removeEventListener('keydown', this._onKeyDown);
},
diff --git a/src/components/views/rooms/MessageComposer.js b/src/components/views/rooms/MessageComposer.js
index 8e27520d89..93f20b8ec3 100644
--- a/src/components/views/rooms/MessageComposer.js
+++ b/src/components/views/rooms/MessageComposer.js
@@ -371,7 +371,7 @@ export default class MessageComposer extends React.Component {
);
return (
-
+
{ controls }
@@ -410,9 +410,6 @@ MessageComposer.propTypes = {
// callback when a file to upload is chosen
uploadFile: React.PropTypes.func.isRequired,
- // opacity for dynamic UI fading effects
- opacity: React.PropTypes.number,
-
// string representing the current room app drawer state
showApps: React.PropTypes.bool,
};
diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js
index 9934456597..f37e38c55e 100644
--- a/src/components/views/rooms/RoomSettings.js
+++ b/src/components/views/rooms/RoomSettings.js
@@ -158,9 +158,9 @@ module.exports = React.createClass({
});
dis.dispatch({
- action: 'ui_opacity',
- sideOpacity: 0.3,
- middleOpacity: 0.3,
+ action: 'panel_disable',
+ sideDisabled: true,
+ middleDisabled: true,
});
},
@@ -171,9 +171,9 @@ module.exports = React.createClass({
}
dis.dispatch({
- action: 'ui_opacity',
- sideOpacity: 1.0,
- middleOpacity: 1.0,
+ action: 'panel_disable',
+ sideDisabled: false,
+ middleDisabled: false,
});
},