File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 }
4646 }
4747
48- & .column {
48+ & .column {
4949 /* to show outline card buttons*/
5050 padding : 0 calc (1 / var (--zoom-level ) * 50vw );
5151 }
8787 }
8888}
8989
90-
9190/* to prevent cards from wobbling when hovering over them */
9291# columns-container .zoom-enabled {
9392 * {
9695}
9796
9897# columns-container .zoom-enabled {
99- .lineage-floating-button {
100- opacity : 0.5 !important
98+ .lineage-floating-button {
99+ opacity : 0.5 !important ;
101100 }
102101 .lineage-card : not (: hover ) .lineage-floating-button : not (.collapse-button ) {
103102 visibility : hidden;
111110 display : none;
112111 }
113112 }
113+
114+ .inactive-node : not (.inactive-node-hover ) {
115+ opacity : var (--inactive-card-opacity ) !important ;
116+ cursor : none !important ;
117+ }
114118}
Original file line number Diff line number Diff line change 1- import { AlwaysShowCardButtons } from 'src/stores/settings/derived/view-settings-store' ;
2- import { getView } from 'src/view/components/container/context' ;
3-
41const toggleHideButtons = ( element : HTMLElement , hide : boolean ) => {
52 element . toggleClass ( 'hide-floating-buttons' , hide ) ;
63} ;
@@ -30,18 +27,10 @@ export const hideFloatingButtons = (element: HTMLElement) => {
3027 delayedHideButtons ( ) ;
3128 } ;
3229
33- const view = getView ( ) ;
34- const subscription = AlwaysShowCardButtons ( view ) . subscribe ( ( show ) => {
35- if ( show ) {
36- element . addEventListener ( 'mousemove' , onMousemove ) ;
37- } else {
38- element . removeEventListener ( 'mousemove' , onMousemove ) ;
39- }
40- } ) ;
30+ element . addEventListener ( 'mousemove' , onMousemove ) ;
4131 return {
4232 destroy : ( ) => {
4333 resetHideButtons ( ) ;
44- subscription ( ) ;
4534 element . removeEventListener ( 'mousemove' , onMousemove ) ;
4635 } ,
4736 } ;
You can’t perform that action at this time.
0 commit comments