Skip to content

Commit ba6953f

Browse files
committed
fix: Color picker slider moving around when dragging them
1 parent c0f667c commit ba6953f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/builtin/source/content/tools/color_picker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ namespace hex::plugin::builtin {
8686
drawBitsSlider(&bitValue);
8787

8888
// Configure drag and drop source and target
89-
if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_SourceNoPreviewTooltip)) {
89+
if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_None)) {
9090
// Set the current slider index as the payload
9191
ImGui::SetDragDropPayload("BIT_VALUE", &index, sizeof(u32));
9292

0 commit comments

Comments
 (0)