File tree Expand file tree Collapse file tree
stores/view/subscriptions/effects/align-branch Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { LineageView } from 'src/view/view' ;
22import { delay } from 'src/helpers/delay' ;
3- import { delayAlign } from 'src/stores/view/subscriptions/effects/align-branch/helpers/retry -align' ;
3+ import { delayAlign } from 'src/stores/view/subscriptions/effects/align-branch/helpers/delay -align' ;
44import { ActiveNodesOfColumn } from 'src/stores/view/view-state-type' ;
55import { Column } from 'src/stores/document/document-state-type' ;
66import { adjustScrollBehavior } from 'src/stores/view/subscriptions/effects/align-branch/helpers/adjust-scroll-behavior' ;
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ export const delayAlign = (action: PluginAction) => {
77 action . type === 'VIEW/TOGGLE_MINIMAP'
88 ) {
99 delay = 300 ;
10+ } else if ( action . type === 'DOCUMENT/DROP_NODE' ) {
11+ delay = 32 ;
1012 }
1113 return delay ;
1214} ;
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 }
9494 transition : none !important ;
9595 }
9696}
97+
9798# columns-container .zoom-enabled {
98- .lineage-floating-button {
99- opacity : 0.5 !important ;
99+ .lineage-floating-button {
100+ opacity : 0.5 !important
101+ }
102+ .lineage-card : not (: hover ) .lineage-floating-button : not (.collapse-button ) {
103+ visibility : hidden;
100104 }
101105}
102106
You can’t perform that action at this time.
0 commit comments