mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-194353: Mac ComboBoxBorder warnings cleanup
This commit is contained in:
+2
-3
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.ide.ui.laf.intellij;
|
||||
|
||||
import com.intellij.ide.ui.laf.darcula.DarculaUIUtil;
|
||||
import com.intellij.ui.Gray;
|
||||
import com.intellij.util.ui.JBUI;
|
||||
import com.intellij.util.ui.MacUIUtil;
|
||||
@@ -54,9 +53,9 @@ public class MacIntelliJComboBoxBorder extends MacIntelliJTextBorder {
|
||||
|
||||
Object op = ((JComponent)c).getClientProperty("JComponent.outline");
|
||||
if (op != null) {
|
||||
paintOutlineBorder(g2, width, height, arc, isSymmetric(), focused, DarculaUIUtil.Outline.valueOf(op.toString()));
|
||||
paintOutlineBorder(g2, width, height, arc, isSymmetric(), focused, Outline.valueOf(op.toString()));
|
||||
} else if (focused) {
|
||||
paintOutlineBorder(g2, width, height, arc, isSymmetric(), true, DarculaUIUtil.Outline.focus);
|
||||
paintOutlineBorder(g2, width, height, arc, isSymmetric(), true, Outline.focus);
|
||||
}
|
||||
} else {
|
||||
paintCellEditorBorder(g2, c, new Rectangle(x, y, width, height), focused);
|
||||
|
||||
Reference in New Issue
Block a user