aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoraidahosa1 <aisosa_idahosa@brown.edu>2024-09-17 13:48:13 -0400
committeraidahosa1 <aisosa_idahosa@brown.edu>2024-09-17 13:48:13 -0400
commit5c4bcbd6a2ce70f6513c5dff872522dde3fcbcc3 (patch)
tree8f41df7dedce29f7cbcc3b6924de96f2e9f46144 /src
parent64635a0a0e07a107c4019e366feb2fe5b01c8b04 (diff)
ready to pull REAL
Diffstat (limited to 'src')
-rw-r--r--src/client/views/FilterPanel.scss35
-rw-r--r--src/client/views/InkingStroke.tsx7
2 files changed, 2 insertions, 40 deletions
diff --git a/src/client/views/FilterPanel.scss b/src/client/views/FilterPanel.scss
index fbdebde0d..508b1ee1f 100644
--- a/src/client/views/FilterPanel.scss
+++ b/src/client/views/FilterPanel.scss
@@ -231,10 +231,8 @@
.filterHotKey-button {
pointer-events: auto;
- // padding-right: 8px; //5px;
width: 100%; //width: 25px;
border-radius: 5px;
- // margin-right: 20px;
margin-top: 8px;
border-color: #d3d3d3;
border-style: solid;
@@ -242,7 +240,7 @@
transition: all 0.3s ease-out;
display: flex;
flex-direction: row;
- padding: 5px; /* Adjust the padding value as needed */
+ padding: 5px;
&:hover{
@@ -250,18 +248,6 @@
background-color: #6d6c6c
}
-
-
- // &.active {
- // background-color: #6d6c6c;
-
-
-
- // .icon-panel{
- // display: flex
- // }
- // }
-
.hotKey-icon, .hotKey-close{
background-color: transparent;
border-radius: 10%;
@@ -300,36 +286,19 @@
.hotKeyButtons {
position: relative;
width: 100%;
- // margin-top: 3px;
- // // grid-column: 1/4;
- // width: 100%;
- // height: auto;
- // display: flex;
- // // flex-direction: row;
- // // flex-wrap: wrap;
- // padding-bottom: 5.5px;
+
}
.hotKey-icon-button {
- // pointer-events: auto; /* Re-enable pointer events for the buttons */
- // width: 30px;
- // height: 30px;
- // border-color: $medium-blue;
background-color: transparent;
- &.active{
-
- }
}
.icon-panel {
- // bottom: -14px;
position: absolute;
z-index: 10000;
- // background-color: #616060;
- // background-color: #323232;
border-color: black;
border-style: solid;
border-width: medium;
diff --git a/src/client/views/InkingStroke.tsx b/src/client/views/InkingStroke.tsx
index 067b11310..2e82371cb 100644
--- a/src/client/views/InkingStroke.tsx
+++ b/src/client/views/InkingStroke.tsx
@@ -450,13 +450,6 @@ export class InkingStroke extends ViewBoxAnnotatableComponent<FieldViewProps>()
}),
icon: 'paint-brush',
});
- // cm?.addItem({
- // description: 'Create a hotkey',
- // event: action(() => {
- // InkStrokeProperties.Instance._controlButton = !InkStrokeProperties.Instance._controlButton;
- // }),
- // icon: 'satellite',
- // });
},
};
return (