Ver Fonte

export LocalStateSnapshots ui classes

Alexander Rose há 4 anos atrás
pai
commit
31f58ee110

+ 1 - 1
src/mol-plugin-ui/controls/icons.tsx

@@ -134,7 +134,7 @@ const _Restore = <svg width='24px' height='24px' viewBox='0 0 24 24'><path d='M1
 export function RestoreSvg() { return _Restore; }
 const _SaveOutlined = <svg width='24px' height='24px' viewBox='0 0 24 24'><path d='M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm2 16H5V5h11.17L19 7.83V19zm-7-7c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3zM6 6h9v4H6z' /></svg>;
 export function SaveOutlinedSvg() { return _SaveOutlined; }
-const _ScatterPlot = <svg width='24px' height='24px' viewBox='0 0 24 24'><circle cx='7' cy='14' r='3' /><circle cx='11' cy='6' r='3' /><circle cx='16.6' cy='17.6' r='3' /></svg>;
+const _ScatterPlot = <svg width='24px' height='24px' viewBox='0 0 24 24' strokeWidth='0.1px'><circle cx='7' cy='14' r='3' /><circle cx='11' cy='6' r='3' /><circle cx='16.6' cy='17.6' r='3' /></svg>;
 export function ScatterPlotSvg() { return _ScatterPlot; }
 const _SkipPrevious = <svg width='24px' height='24px' viewBox='0 0 24 24'><path d='M6 6h2v12H6zm3.5 6l8.5 6V6z' /></svg>;
 export function SkipPreviousSvg() { return _SkipPrevious; }

+ 2 - 2
src/mol-plugin-ui/state/snapshots.tsx

@@ -92,7 +92,7 @@ export class LocalStateSnapshotParams extends PluginUIComponent {
     }
 }
 
-class LocalStateSnapshots extends PluginUIComponent<
+export class LocalStateSnapshots extends PluginUIComponent<
 {},
 { params: PD.Values<typeof LocalStateSnapshots.Params> }> {
     state = { params: PD.getDefaultValues(LocalStateSnapshots.Params) };
@@ -130,7 +130,7 @@ class LocalStateSnapshots extends PluginUIComponent<
     }
 }
 
-class LocalStateSnapshotList extends PluginUIComponent<{}, {}> {
+export class LocalStateSnapshotList extends PluginUIComponent<{}, {}> {
     componentDidMount() {
         this.subscribe(this.plugin.managers.snapshot.events.changed, () => this.forceUpdate());
     }