From f8dbd6c12c8b6d99d85e7de12242bfd32421174d Mon Sep 17 00:00:00 2001 From: Forrest Li Date: Thu, 19 Apr 2018 14:50:17 -0400 Subject: [PATCH 1/2] fix(Generic): Set colormaps for geometry --- Sources/config/Generic/proxyUI.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/config/Generic/proxyUI.js b/Sources/config/Generic/proxyUI.js index f60b34b2..53c8aa0e 100644 --- a/Sources/config/Generic/proxyUI.js +++ b/Sources/config/Generic/proxyUI.js @@ -156,7 +156,9 @@ const Geometry = [ name: 'lookupTableProxy', advanced: 0, size: 1, - domain: {}, + domain: { + colormaps: ColorMaps, + }, doc: 'Edit lookup table', }, // { From 145e9d5fe5c393a81da84c5ed38856b22a553de1 Mon Sep 17 00:00:00 2001 From: Forrest Li Date: Thu, 19 Apr 2018 14:50:31 -0400 Subject: [PATCH 2/2] fix(Button): Cleanup unused code/styles --- Sources/ui/Button/Button.mcss | 3 --- Sources/ui/Button/index.js | 2 -- 2 files changed, 5 deletions(-) diff --git a/Sources/ui/Button/Button.mcss b/Sources/ui/Button/Button.mcss index 22cb7e92..773292de 100644 --- a/Sources/ui/Button/Button.mcss +++ b/Sources/ui/Button/Button.mcss @@ -6,9 +6,6 @@ cursor: pointer; transition: color .5s, border-color .5s; outline: none; - -moz-outline: none; - -ms-outline: none; - -webkit-outline: none; } .button:hover { diff --git a/Sources/ui/Button/index.js b/Sources/ui/Button/index.js index 77233245..dde7df58 100644 --- a/Sources/ui/Button/index.js +++ b/Sources/ui/Button/index.js @@ -18,14 +18,12 @@ function Button(props) { } Button.propTypes = { - style: PropTypes.object, className: PropTypes.string, children: PropTypes.any, onClick: PropTypes.func, }; Button.defaultProps = { - style: {}, className: '', children: [], onClick: () => {},