提交 0036c968 编写于 作者: P Peng Lyu

click should always work

上级 b1020fbd
......@@ -182,12 +182,12 @@ export class ReviewController implements IEditorContribution {
let iconClicked = false;
switch (e.target.type) {
case MouseTargetType.GUTTER_LINE_DECORATIONS:
const data = e.target.detail as IMarginData;
const gutterOffsetX = data.offsetX - data.glyphMarginWidth - data.lineNumbersWidth;
// const data = e.target.detail as IMarginData;
// const gutterOffsetX = data.offsetX - data.glyphMarginWidth - data.lineNumbersWidth;
if (gutterOffsetX <= 10) {
return;
}
// if (gutterOffsetX <= 10) {
// return;
// }
iconClicked = true;
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册