aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-12-12 19:49:13 -0500
committerbobzel <zzzman@gmail.com>2020-12-12 19:49:13 -0500
commitf56420c57f5f68af00d175fd81ee8a6b69ac39ae (patch)
tree2a585737b8c8a1aaf7cb0bdbc8ac52cb85c78b5e
parent7f93d584dbd356f61c39cfe6c95647e4df003948 (diff)
fixed rtf sidebar to stay visibnle in outline treeview when inking is on. changed highlighting based on hover for anitmode buttons to test on msft duo w/ touch.
-rw-r--r--src/client/views/collections/CollectionMenu.tsx6
-rw-r--r--src/client/views/collections/TreeView.scss2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/client/views/collections/CollectionMenu.tsx b/src/client/views/collections/CollectionMenu.tsx
index b2b23115f..ef0c30ff4 100644
--- a/src/client/views/collections/CollectionMenu.tsx
+++ b/src/client/views/collections/CollectionMenu.tsx
@@ -657,8 +657,10 @@ export class CollectionFreeFormViewChrome extends React.Component<CollectionMenu
return <div className="btn-draw" key="draw">
{this._draw.map((icon, i) =>
<Tooltip key={icon} title={<div className="dash-tooltip">{this._title[i]}</div>} placement="bottom">
- <button className="antimodeMenu-button" onPointerDown={() => func(i, false)} onDoubleClick={() => func(i, true)}
- style={{ backgroundColor: i === this._selected ? "121212" : "", fontSize: "20" }}>
+ <button className="antimodeMenu-button"
+ onPointerDown={() => func(i, false)}
+ onDoubleClick={() => func(i, true)}
+ style={{ backgroundColor: i === this._selected ? "525252" : "", fontSize: "20" }}>
<FontAwesomeIcon icon={this._faName[i] as IconProp} size="sm" />
</button>
</Tooltip>)}
diff --git a/src/client/views/collections/TreeView.scss b/src/client/views/collections/TreeView.scss
index 816dc0ffa..8468e27df 100644
--- a/src/client/views/collections/TreeView.scss
+++ b/src/client/views/collections/TreeView.scss
@@ -83,7 +83,7 @@
display: none;
}
.formattedTextBox-cont {
- .formattedTextbox-sidebar {
+ .formattedTextbox-sidebar, .formattedTextbox-sidebar-inking {
overflow: visible !important;
border-left: unset;
}