Re: nudge an object?
- From: "Octavio Alvarez" <alvarezp alvarezp ods org>
- To: "discussions about usage and development of dia" <dia-list gnome org>
- Subject: Re: nudge an object?
- Date: Fri, 19 May 2006 12:05:10 -0700
On Fri, 19 May 2006 11:32:34 -0700, Lars Clausen <lars raeder dk> wrote:
>>> Is it possible to nudge an object with the up/down/left/right
arrows?
>
>> I vote for that.
>
> Yes, pretty please. (I know two other drawing programs where the
arrow
> keys move things rather than scroll - I find that much more
intuitive).
if (!object_is_selected)
scroll();
else
nudge_selected_objects();
A little simplified, I'm afraid, but I like the basic idea. Took a
short look at it, and there's somewhat more work to it than that, for
one thing child objects should behave correctly, for another we may or
may not want to break connections, depending on what we're moving. A
patch would be welcome, though.
I guess connections should not be broken, just like if they were moved with
the mouse.
--
Ing. Octavio Alvarez Piza
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]