提交 5a261cd8 编写于 作者: M Miguel Solorio

Merge branch 'master' of github.com:Microsoft/vscode

......@@ -354,7 +354,7 @@ export class ModesContentHoverWidget extends ContentHoverWidget {
containColorPicker = true;
const { red, green, blue, alpha } = msg.color;
const rgba = new RGBA(red * 255, green * 255, blue * 255, alpha);
const rgba = new RGBA(Math.round(red * 255), Math.round(green * 255), Math.round(blue * 255), alpha);
const color = new Color(rgba);
if (!this._editor.hasModel()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册