Build with JUCE 7.0.2
Update build and changelog Switch to docker runners Fix the source path in build Fix the release path in build Use zipped artifacts build: Install zip build: Fix commands for the package step build: Fix zip command update a bit Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
		@@ -345,8 +345,8 @@ void CustomLookAndFeel::drawTabButton (TabBarButton& button, Graphics& g, bool i
 | 
			
		||||
    
 | 
			
		||||
    switch (o)
 | 
			
		||||
    {
 | 
			
		||||
        case TabbedButtonBar::TabsAtLeft:   t = t.rotated (float_Pi * -0.5f).translated (area.getX(), area.getBottom()); break;
 | 
			
		||||
        case TabbedButtonBar::TabsAtRight:  t = t.rotated (float_Pi *  0.5f).translated (area.getRight(), area.getY()); break;
 | 
			
		||||
        case TabbedButtonBar::TabsAtLeft:   t = t.rotated (MathConstants<float>::pi * -0.5f).translated (area.getX(), area.getBottom()); break;
 | 
			
		||||
        case TabbedButtonBar::TabsAtRight:  t = t.rotated (MathConstants<float>::pi *  0.5f).translated (area.getRight(), area.getY()); break;
 | 
			
		||||
        case TabbedButtonBar::TabsAtTop:
 | 
			
		||||
        case TabbedButtonBar::TabsAtBottom: t = t.translated (area.getX(), area.getY()); break;
 | 
			
		||||
        default:                            jassertfalse; break;
 | 
			
		||||
@@ -447,8 +447,8 @@ void CustomLookAndFeel::drawTabButtonText (TabBarButton& button, Graphics& g, bo
 | 
			
		||||
    
 | 
			
		||||
    switch (button.getTabbedButtonBar().getOrientation())
 | 
			
		||||
    {
 | 
			
		||||
        case TabbedButtonBar::TabsAtLeft:   t = t.rotated (float_Pi * -0.5f).translated (area.getX(), area.getBottom()); break;
 | 
			
		||||
        case TabbedButtonBar::TabsAtRight:  t = t.rotated (float_Pi *  0.5f).translated (area.getRight(), area.getY()); break;
 | 
			
		||||
        case TabbedButtonBar::TabsAtLeft:   t = t.rotated (MathConstants<float>::pi * -0.5f).translated (area.getX(), area.getBottom()); break;
 | 
			
		||||
        case TabbedButtonBar::TabsAtRight:  t = t.rotated (MathConstants<float>::pi *  0.5f).translated (area.getRight(), area.getY()); break;
 | 
			
		||||
        case TabbedButtonBar::TabsAtTop:
 | 
			
		||||
        case TabbedButtonBar::TabsAtBottom: t = t.translated (area.getX(), area.getY()); break;
 | 
			
		||||
        default:                            jassertfalse; break;
 | 
			
		||||
@@ -903,8 +903,8 @@ void CustomLookAndFeel::drawRotarySlider (Graphics& g, int x, int y, int width,
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    const auto thumbWidth = lineW ; // * 1.5f;
 | 
			
		||||
    const Point<float> thumbPoint (bounds.getCentreX() + arcRadius * std::cos (toAngle - float_Pi * 0.5f),
 | 
			
		||||
                                   bounds.getCentreY() + arcRadius * std::sin (toAngle - float_Pi * 0.5f));
 | 
			
		||||
    const Point<float> thumbPoint (bounds.getCentreX() + arcRadius * std::cos (toAngle - MathConstants<float>::pi * 0.5f),
 | 
			
		||||
                                   bounds.getCentreY() + arcRadius * std::sin (toAngle - MathConstants<float>::pi * 0.5f));
 | 
			
		||||
    
 | 
			
		||||
    g.setColour (findColour (Slider::thumbColourId));
 | 
			
		||||
    g.fillEllipse (Rectangle<float> (thumbWidth, thumbWidth).withCentre (thumbPoint));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user