diff --git a/src/UI/Components/EntityModal/EntityColorList.tsx b/src/UI/Components/EntityModal/EntityColorList.tsx index 7fef14cf3..557f7db10 100644 --- a/src/UI/Components/EntityModal/EntityColorList.tsx +++ b/src/UI/Components/EntityModal/EntityColorList.tsx @@ -10,7 +10,7 @@ import { EntityStore } from '../../Store/EntityStore'; export const ColorItem = (props: { className: string, text: string, style?: React.CSSProperties, value?: number; }) =>
  • - {props.text} + {props.text}
  • ; export const ColorStyle: [string, number][] = [ @@ -98,7 +98,7 @@ export class ColorModal extends React.Component<{ store?: EntityStore; }, {}> > 1 ? null : { background: ColorMaterial.GetColor(store.colorIndex).getStyle() } + store.colorSet.size > 1 ? null : { background: ColorMaterial.GetColor(store.colorIndex).getStyle(), pointerEvents: "none" } } className="i-color" text={store.colorIndex <= 7 ? ColorStyle[store.colorIndex][0] : store.colorIndex.toString()} @@ -125,7 +125,7 @@ export class ColorModal extends React.Component<{ store?: EntityStore; }, {}> li{ + pointer-events: none; } } >li{ @@ -69,8 +74,13 @@ width: 100%; } >ul{//.props-color-list + outline: none; + background: none !important; >li{ padding: 5px 0 0 0 !important; + &:hover{ + background: #BFCCD6 !important; + } } } } diff --git a/src/UI/Components/ToolBar/Properties_Dim.tsx b/src/UI/Components/ToolBar/Properties_Dim.tsx index 7c7a8ab78..65c97f3a9 100644 --- a/src/UI/Components/ToolBar/Properties_Dim.tsx +++ b/src/UI/Components/ToolBar/Properties_Dim.tsx @@ -57,6 +57,7 @@ export class Properties_DimPanel extends React.Component { this.dim_TextSize = 60; @@ -67,6 +68,8 @@ export class Properties_DimPanel extends React.Component
  • -