diff --git a/src/components/structures/LoggedInView.tsx b/src/components/structures/LoggedInView.tsx index fb3cb8e291..0acfef92c1 100644 --- a/src/components/structures/LoggedInView.tsx +++ b/src/components/structures/LoggedInView.tsx @@ -265,7 +265,6 @@ class LoggedInView extends React.Component { resizer.setClassNames({ handle: "mx_ResizeHandle", vertical: "mx_ResizeHandle_vertical", - reverse: "mx_ResizeHandle_reverse", }); return resizer; } diff --git a/src/components/views/elements/ResizeHandle.tsx b/src/components/views/elements/ResizeHandle.tsx index 10dba1b735..c3609f3129 100644 --- a/src/components/views/elements/ResizeHandle.tsx +++ b/src/components/views/elements/ResizeHandle.tsx @@ -19,21 +19,17 @@ import React from "react"; // eslint-disable-line no-unused-vars //see src/resizer for the actual resizing code, this is just the DOM for the resize handle interface IResizeHandleProps { vertical?: boolean; - reverse?: boolean; id?: string; passRef?: React.RefObject; } -const ResizeHandle: React.FC = ({ vertical, reverse, id, passRef }) => { +const ResizeHandle: React.FC = ({ vertical, id, passRef }) => { const classNames = ["mx_ResizeHandle"]; if (vertical) { classNames.push("mx_ResizeHandle_vertical"); } else { classNames.push("mx_ResizeHandle_horizontal"); } - if (reverse) { - classNames.push("mx_ResizeHandle_reverse"); - } return (
diff --git a/src/components/views/rooms/AppsDrawer.tsx b/src/components/views/rooms/AppsDrawer.tsx index cd5e9bc889..bf4e0fb0ac 100644 --- a/src/components/views/rooms/AppsDrawer.tsx +++ b/src/components/views/rooms/AppsDrawer.tsx @@ -110,7 +110,6 @@ export default class AppsDrawer extends React.Component { const classNames = { handle: "mx_ResizeHandle", vertical: "mx_ResizeHandle_vertical", - reverse: "mx_ResizeHandle_reverse", }; const collapseConfig = { onResizeStart: () => { @@ -267,7 +266,7 @@ export default class AppsDrawer extends React.Component { if (i < 1) return app; return ( - apps.length / 2} /> + {app} );