update: renaming stuff from react to "revue"
This commit is contained in:
@@ -67,7 +67,7 @@ const MiniMapNode = defineComponent({
|
||||
|
||||
return () => (
|
||||
<rect
|
||||
class={['react-flow__minimap-node']}
|
||||
class={['revue-flow__minimap-node']}
|
||||
x={props.x}
|
||||
y={props.y}
|
||||
rx={props.borderRadius}
|
||||
|
||||
@@ -58,7 +58,7 @@ const MiniMap = defineComponent({
|
||||
const pinia = store();
|
||||
const transform = computed(() => pinia.transform);
|
||||
|
||||
const mapClasses = ['react-flow__minimap'];
|
||||
const mapClasses = ['revue-flow__minimap'];
|
||||
const elementWidth = computed(() => (attrs.style?.width || defaultWidth)! as number);
|
||||
const elementHeight = computed(() => (attrs.style?.height || defaultHeight)! as number);
|
||||
const nodeColorFunc = (props.nodeColor instanceof Function ? props.nodeColor : () => props.nodeColor) as StringFunc;
|
||||
@@ -115,7 +115,7 @@ const MiniMap = defineComponent({
|
||||
/>
|
||||
))}
|
||||
<path
|
||||
class="react-flow__minimap-mask"
|
||||
class="revue-flow__minimap-mask"
|
||||
d={`M${x.value - offset.value},${y.value - offset.value}h${width.value + offset.value * 2}v${
|
||||
height.value + offset.value * 2
|
||||
}h${-width.value - offset.value * 2}z
|
||||
|
||||
Reference in New Issue
Block a user