Fix filter preview when zoom level < 100%

This commit is contained in:
David Capello 2015-10-30 17:58:47 -03:00
parent 3c97f08e4e
commit c12cb26875

View File

@ -259,7 +259,8 @@ void FilterManagerImpl::flush()
m_y+m_offset_y+m_row-1)),
gfx::Size(
editor->zoom().apply(m_w),
editor->zoom().apply(1)));
(editor->zoom().scale() >= 1 ? editor->zoom().apply(1):
editor->zoom().remove(1))));
gfx::Region reg1(rect);
gfx::Region reg2;