Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi there,

This is a one-line patch to impress to make the animation list scroll down
to show a newly added animation. Previously we didn't scroll the list at
all.

Kind Regards,

Luke.
From 011c3c21a7a8a250261cead697a4cf5d005a02dd Mon Sep 17 00:00:00 2001
From: Luke Symes <allsymes@gmail.com>
Date: Fri, 24 Jun 2011 17:34:36 +1200
Subject: [PATCH] After adding a new animation, scroll down to it in the list.

---
 sd/source/ui/animations/CustomAnimationList.cxx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sd/source/ui/animations/CustomAnimationList.cxx 
b/sd/source/ui/animations/CustomAnimationList.cxx
index 196fc53..b1eb7ca 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -542,6 +542,7 @@ void CustomAnimationList::select( CustomAnimationEffectPtr pEffect, bool bSelect
     {
         append( pEffect );
         select( pEffect );
+        MakeVisible( Last() );
     }
 }
 
-- 
1.7.5.4


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.