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
a2e05bf4
Commit
a2e05bf4
authored
Dec 20, 1998
by
Sven Neumann
Browse files
Finally it seems like Xach got it right.
--Sven
parent
092fb5a6
Changes
4
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
a2e05bf4
Sun Dec 20 23:34:37 MET 1998 Sven Neumann <sven@gimp.org>
* app/rect_select.c: another patch from Xach. Eek, I should have
waited for him to finish his changes, but it seems to work
correctly now.
Sat Dec 19 15:46:27 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* app/brush_edit.c:
...
...
app/rect_select.c
View file @
a2e05bf4
...
...
@@ -567,10 +567,20 @@ rect_select_motion (Tool *tool,
{
if
(
rect_sel
->
fixed_size
)
{
rect_sel
->
x
=
ox
-
(
w
/
2
);
rect_sel
->
y
=
oy
-
(
h
/
2
);
rect_sel
->
w
=
w
;
rect_sel
->
h
=
h
;
if
(
mevent
->
state
&
GDK_SHIFT_MASK
)
{
rect_sel
->
x
=
ox
-
w
;
rect_sel
->
y
=
oy
-
h
;
rect_sel
->
w
=
w
*
2
;
rect_sel
->
h
=
h
*
2
;
}
else
{
rect_sel
->
x
=
ox
-
w
/
2
;
rect_sel
->
y
=
oy
-
h
/
2
;
rect_sel
->
w
=
w
;
rect_sel
->
h
=
h
;
}
}
else
{
...
...
app/tools/gimprectselecttool.c
View file @
a2e05bf4
...
...
@@ -567,10 +567,20 @@ rect_select_motion (Tool *tool,
{
if
(
rect_sel
->
fixed_size
)
{
rect_sel
->
x
=
ox
-
(
w
/
2
);
rect_sel
->
y
=
oy
-
(
h
/
2
);
rect_sel
->
w
=
w
;
rect_sel
->
h
=
h
;
if
(
mevent
->
state
&
GDK_SHIFT_MASK
)
{
rect_sel
->
x
=
ox
-
w
;
rect_sel
->
y
=
oy
-
h
;
rect_sel
->
w
=
w
*
2
;
rect_sel
->
h
=
h
*
2
;
}
else
{
rect_sel
->
x
=
ox
-
w
/
2
;
rect_sel
->
y
=
oy
-
h
/
2
;
rect_sel
->
w
=
w
;
rect_sel
->
h
=
h
;
}
}
else
{
...
...
app/tools/rect_select.c
View file @
a2e05bf4
...
...
@@ -567,10 +567,20 @@ rect_select_motion (Tool *tool,
{
if
(
rect_sel
->
fixed_size
)
{
rect_sel
->
x
=
ox
-
(
w
/
2
);
rect_sel
->
y
=
oy
-
(
h
/
2
);
rect_sel
->
w
=
w
;
rect_sel
->
h
=
h
;
if
(
mevent
->
state
&
GDK_SHIFT_MASK
)
{
rect_sel
->
x
=
ox
-
w
;
rect_sel
->
y
=
oy
-
h
;
rect_sel
->
w
=
w
*
2
;
rect_sel
->
h
=
h
*
2
;
}
else
{
rect_sel
->
x
=
ox
-
w
/
2
;
rect_sel
->
y
=
oy
-
h
/
2
;
rect_sel
->
w
=
w
;
rect_sel
->
h
=
h
;
}
}
else
{
...
...
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