fix: Color picker slider moving around when dragging them

This commit is contained in:
WerWolv
2025-10-17 19:33:08 +02:00
parent c0f667ce20
commit ba6953fda4

View File

@@ -86,7 +86,7 @@ namespace hex::plugin::builtin {
drawBitsSlider(&bitValue);
// Configure drag and drop source and target
if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_SourceNoPreviewTooltip)) {
if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_None)) {
// Set the current slider index as the payload
ImGui::SetDragDropPayload("BIT_VALUE", &index, sizeof(u32));