# macOS Repaint throttling - small change, big effect!

**URL:** https://forum.juce.com/t/macos-repaint-throttling-small-change-big-effect/41402
**Category:** MacOSX and iOS
**Created:** [August 24, 2020, 12:26pm UTC](https://forum.juce.com/t/macos-repaint-throttling-small-change-big-effect/41402 "2020-08-24T12:26:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![chkn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/chkn/32/3862_2.png) [@chkn](https://forum.juce.com/u/chkn)
#### Post date: [August 26, 2020, 12:49pm UTC](https://forum.juce.com/t/macos-repaint-throttling-small-change-big-effect/41402/2 "2020-08-26T12:49:07Z")

</div>

A macro like this would do the job too. @ed95 ?

```
#ifndef MACOS_MAXIMUM_REPAINT_FREQUENCY
      #define MACOS_MAXIMUM_REPAINT_FREQUENCY 30
#endif
         
static uint32 minimumRepaintInterval = 1000 / MACOS_MAXIMUM_REPAINT_FREQUENCY;
```

---

_[View the full topic](https://forum.juce.com/t/macos-repaint-throttling-small-change-big-effect/41402)._
