1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

ToolbarItem: Tidy up constructor

This commit is contained in:
reuk 2025-06-12 21:20:40 +01:00
parent 5d7208bb54
commit a3f813d8a5
No known key found for this signature in database

View file

@ -39,7 +39,6 @@ class ToolbarItemDragAndDropOverlayComponent : public Component
{
public:
ToolbarItemDragAndDropOverlayComponent()
: isDragging (false)
{
setAlwaysOnTop (true);
setRepaintsOnMouseActivity (true);
@ -114,7 +113,7 @@ public:
private:
//==============================================================================
bool isDragging;
bool isDragging = false;
ToolbarItemComponent* getToolbarItemComponent() const noexcept
{