mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Fixed a couple of warnings in last commit
This commit is contained in:
parent
b1ea737d54
commit
49ef5b4318
2 changed files with 4 additions and 3 deletions
|
|
@ -356,12 +356,12 @@ public:
|
|||
|
||||
void setPosition (const RelativePositionedRectangle& newPos)
|
||||
{
|
||||
auto* layout = document.getComponentLayout();
|
||||
auto* l = document.getComponentLayout();
|
||||
|
||||
if (layout->getSelectedSet().getNumSelected() > 1)
|
||||
if (l->getSelectedSet().getNumSelected() > 1)
|
||||
positionOtherSelectedComponents (ComponentTypeHandler::getComponentPosition (component), newPos);
|
||||
|
||||
layout->setComponentPosition (component, newPos, true);
|
||||
l->setComponentPosition (component, newPos, true);
|
||||
}
|
||||
|
||||
RelativePositionedRectangle getPosition() const
|
||||
|
|
|
|||
|
|
@ -88,6 +88,7 @@ inline void drawResizableBorder (Graphics& g, int w, int h,
|
|||
const bool isMouseOver,
|
||||
Colour borderColour)
|
||||
{
|
||||
ignoreUnused (isMouseOver);
|
||||
g.setColour (borderColour);
|
||||
|
||||
g.fillRect (0, 0, w, borderSize.getTop());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue