Skip to content

Crash on color picker #41

@wrymn

Description

@wrymn

When opening color picker and right-mouse clicking into color area to change "color pick mode", the application crashes on

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
	at imgui.imgui.imgui_widgetsColorEditorPicker$DefaultImpls.colorPicker4(widgets colorEditorPicker.kt:334)
	at imgui.ImGui.colorPicker4(imgui.kt:44)
	at imgui.imgui.imgui_widgetsColorEditorPicker$DefaultImpls.colorPicker4$default(widgets colorEditorPicker.kt:299)
	at imgui.imgui.imgui_widgetsText$Companion.colorPickerOptionsPopup(widgets text.kt:266)
	at imgui.imgui.imgui_widgetsColorEditorPicker$DefaultImpls.colorPicker4(widgets colorEditorPicker.kt:313)
	at imgui.ImGui.colorPicker4(imgui.kt:44)
	at imgui.imgui.imgui_widgetsColorEditorPicker$DefaultImpls.colorEdit4(widgets colorEditorPicker.kt:217)
	at imgui.ImGui.colorEdit4(imgui.kt:44)
	at imgui.imgui.imgui_widgetsColorEditorPicker$DefaultImpls.colorEdit4(widgets colorEditorPicker.kt:99)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions