open fun paintCircle()

in src/main/kotlin/com/jetbrains/interactiveRebase/visuals/CirclePanel.kt [65:93]


    open fun paintCircle(g: Graphics) {
        val g2d = g as Graphics2D

        // Set rendering hints for smoother rendering
        g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON)

        createCircle(diameter)
        val (circleColor, borderColor) = colorCircle()
        selectedCommitAppearance(g2d, commit.isSelected, circleColor, borderColor)
//        if (commit.isDragged) {
//            cursor = grabHandCursor()
//        } else
        if (commit.isHovered) {
//            cursor = openHandCursor()
            cursor = Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)
            g2d.color = JBColor.BLACK
            g2d.stroke = BasicStroke(border)
            g2d.draw(circle)
        } else {
            cursor = Cursor.getDefaultCursor()
        }

        if (commit.wasCherryPicked) icon(g2d, DvcsImplIcons.CherryPick)
        if (commit.isPaused) {
            if (commit.changes.filterIsInstance<StopToEditCommand>().isEmpty()) {
                icon(g2d, AllIcons.General.InspectionsWarningEmpty)
            }
        }
    }