This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit 0cf39625f84570cad063381516ca02b1710ec731 Author: David Capello <[email protected]> Date: Wed Feb 24 17:37:36 2016 -0300 Minor fix in PaletteView::setBoxSize() to apply the guiscale() to the box size --- src/app/ui/palette_view.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/ui/palette_view.cpp b/src/app/ui/palette_view.cpp index 1497721..16f035c 100644 --- a/src/app/ui/palette_view.cpp +++ b/src/app/ui/palette_view.cpp @@ -1,5 +1,5 @@ // Aseprite -// Copyright (C) 2001-2015 David Capello +// Copyright (C) 2001-2016 David Capello // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as @@ -200,7 +200,7 @@ int PaletteView::getBoxSize() const void PaletteView::setBoxSize(int boxsize) { - m_boxsize = MID(4*guiscale(), boxsize, 32*guiscale()); + m_boxsize = MID(4, boxsize, 32)*guiscale(); if (m_delegate) m_delegate->onPaletteViewChangeSize(m_boxsize / guiscale()); -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

