mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
MSVC compile bug fix
This commit is contained in:
parent
78aac0995a
commit
089332d78c
2 changed files with 2 additions and 2 deletions
|
|
@ -1534,8 +1534,6 @@ private:
|
|||
// if the component's not opaque, this won't draw properly unless the platform can support this
|
||||
jassert (Desktop::canUseSemiTransparentWindows() || component.isOpaque());
|
||||
|
||||
ModifierKeys::updateCurrentModifiers();
|
||||
|
||||
{
|
||||
ScopedPointer<LowLevelGraphicsContext> context (component.getLookAndFeel()
|
||||
.createGraphicsContext (offscreenImage, Point<int> (-x, -y), contextClip));
|
||||
|
|
|
|||
|
|
@ -98,6 +98,8 @@ void ComponentPeer::handleMagnifyGesture (const int touchIndex, const Point<int>
|
|||
//==============================================================================
|
||||
void ComponentPeer::handlePaint (LowLevelGraphicsContext& contextToPaintTo)
|
||||
{
|
||||
ModifierKeys::updateCurrentModifiers();
|
||||
|
||||
Graphics g (&contextToPaintTo);
|
||||
|
||||
#if JUCE_ENABLE_REPAINT_DEBUGGING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue