From 0d507c303973b9ecafdd377f89215c30432eaed5 Mon Sep 17 00:00:00 2001
From: luna215 <paulluna0215@gmail.com>
Date: Fri, 30 Nov 2018 10:57:19 -0800
Subject: [PATCH] reverted back to the left border style

---
 src/mol-plugin/ui/controls/parameters.tsx | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/mol-plugin/ui/controls/parameters.tsx b/src/mol-plugin/ui/controls/parameters.tsx
index f7e8774b1..6e6e43ad1 100644
--- a/src/mol-plugin/ui/controls/parameters.tsx
+++ b/src/mol-plugin/ui/controls/parameters.tsx
@@ -250,10 +250,7 @@ export class ColorControl extends SimpleParam<PD.Color> {
     }
 
     renderControl() {
-        let rgb: any[] = Color.toStyle(this.props.value).replace('rgb(', '').split(', ');
-        rgb = rgb.map(c => parseInt(c)); 
-        let secondArg = `rgb(${rgb[0]}, ${rgb[1]}, ${rgb[2]}, 0.0)`;
-        return <select value={this.props.value} onChange={this.onChange} style={{background: `linear-gradient(90deg, ${Color.toStyle(this.props.value)}, ${secondArg})`}}>
+        return <select value={this.props.value} onChange={this.onChange} style={{ borderLeft: `16px solid ${Color.toStyle(this.props.value)}` }}>
             {ColorValueOption(this.props.value)}
             {ColorOptions()}
         </select>;
-- 
GitLab