Hi,
juce::Graphics::drawRoundedRectangle() doesn’t get moved out of the visible area when context is scrolled out the Window. It’s origin seems to get stuck in the visible area.
Thanks
void paint(juce::Graphics& g) override{
auto bounds= this->getBounds();
g.setColour(juce::Colour(0xff101020));
g.drawRoundedRectangle(20, 20, bounds.getWidth()-40, bounds.getHeight()-40, 40, 40);
}
