mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-27 02:20:05 +00:00
win32 font fix. Tidied up warnings in plugin host. More drawable refactoring. TabbedComponent fix.
This commit is contained in:
parent
e5c4ecc670
commit
7478c7f9ab
27 changed files with 1798 additions and 1479 deletions
|
|
@ -231,7 +231,7 @@ public:
|
|||
|
||||
void mouseDown (const MouseEvent& e)
|
||||
{
|
||||
originalPos = relativePositionToGlobal (Point<int>());
|
||||
originalPos = localPointToGlobal (Point<int>());
|
||||
|
||||
toFront (true);
|
||||
|
||||
|
|
@ -277,7 +277,7 @@ public:
|
|||
Point<int> pos (originalPos + Point<int> (e.getDistanceFromDragStartX(), e.getDistanceFromDragStartY()));
|
||||
|
||||
if (getParentComponent() != 0)
|
||||
pos = getParentComponent()->globalPositionToRelative (pos);
|
||||
pos = getParentComponent()->getLocalPoint (0, pos);
|
||||
|
||||
graph.setNodePosition (filterID,
|
||||
(pos.getX() + getWidth() / 2) / (double) getParentWidth(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue