Re: nudge an object?
- From: Lars Clausen <lars raeder dk>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: nudge an object?
- Date: Sat, 20 May 2006 08:39:31 +0200
On Fri, 2006-05-19 at 12:05 -0700, Octavio Alvarez wrote:
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.
If you move a line that is connected to something, the connections will
be broken.
-Lars
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]