Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
GIMP
Commits
393b1fd5
Commit
393b1fd5
authored
Apr 06, 1999
by
Sven Neumann
Browse files
When using fixed_size selections create the
selection into the direction the user moved the mouse. --Sven
parent
808e1c94
Changes
4
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
393b1fd5
Wed Apr 7 00:50:13 MEST 1999 Sven Neumann <sven@gimp.org>
* app/rect_select.c: when using fixed_size selections create the
selection into the direction the user moved the mouse
1999-04-06 Michael Natterer <mitschel@cs.tu-berlin.de>
* app/rect_select.h: oops, didn't commit this one.
...
...
app/rect_select.c
View file @
393b1fd5
...
...
@@ -618,8 +618,8 @@ rect_select_motion (Tool *tool,
w
=
-
w
;
}
}
else
{
w
=
rect_sel
->
fixed_width
;
h
=
rect_sel
->
fixed_height
;
w
=
(
x
-
ox
>
0
?
rect_sel
->
fixed_width
:
-
rect_sel
->
fixed_width
)
;
h
=
(
y
-
oy
>
0
?
rect_sel
->
fixed_height
:
-
rect_sel
->
fixed_height
)
;
}
}
else
{
w
=
(
x
-
ox
);
...
...
app/tools/gimprectselecttool.c
View file @
393b1fd5
...
...
@@ -618,8 +618,8 @@ rect_select_motion (Tool *tool,
w
=
-
w
;
}
}
else
{
w
=
rect_sel
->
fixed_width
;
h
=
rect_sel
->
fixed_height
;
w
=
(
x
-
ox
>
0
?
rect_sel
->
fixed_width
:
-
rect_sel
->
fixed_width
)
;
h
=
(
y
-
oy
>
0
?
rect_sel
->
fixed_height
:
-
rect_sel
->
fixed_height
)
;
}
}
else
{
w
=
(
x
-
ox
);
...
...
app/tools/rect_select.c
View file @
393b1fd5
...
...
@@ -618,8 +618,8 @@ rect_select_motion (Tool *tool,
w
=
-
w
;
}
}
else
{
w
=
rect_sel
->
fixed_width
;
h
=
rect_sel
->
fixed_height
;
w
=
(
x
-
ox
>
0
?
rect_sel
->
fixed_width
:
-
rect_sel
->
fixed_width
)
;
h
=
(
y
-
oy
>
0
?
rect_sel
->
fixed_height
:
-
rect_sel
->
fixed_height
)
;
}
}
else
{
w
=
(
x
-
ox
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment