mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-05 22:15:45 +01:00
Demo: correct demo markers wordings (#9586)
This commit is contained in:
parent
6d32174508
commit
f996126249
@ -1651,10 +1651,10 @@ static void DemoWindowWidgetsDragAndDrop()
|
||||
{
|
||||
if (ImGui::TreeNode("Drag and Drop"))
|
||||
{
|
||||
IMGUI_DEMO_MARKER("Widgets/Drag and drop");
|
||||
IMGUI_DEMO_MARKER("Widgets/Drag and Drop");
|
||||
if (ImGui::TreeNode("Drag and drop in standard widgets"))
|
||||
{
|
||||
IMGUI_DEMO_MARKER("Widgets/Drag and drop/Standard widgets");
|
||||
IMGUI_DEMO_MARKER("Widgets/Drag and Drop/Standard widgets");
|
||||
// ColorEdit widgets automatically act as drag source and drag target.
|
||||
// They are using standardized payload strings IMGUI_PAYLOAD_TYPE_COLOR_3F and IMGUI_PAYLOAD_TYPE_COLOR_4F
|
||||
// to allow your own widgets to use colors in their drag and drop interaction.
|
||||
@ -1669,7 +1669,7 @@ static void DemoWindowWidgetsDragAndDrop()
|
||||
|
||||
if (ImGui::TreeNode("Drag and drop to copy/swap items"))
|
||||
{
|
||||
IMGUI_DEMO_MARKER("Widgets/Drag and drop/Copy-swap items");
|
||||
IMGUI_DEMO_MARKER("Widgets/Drag and Drop/Copy-swap items");
|
||||
enum Mode
|
||||
{
|
||||
Mode_Copy,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user