swell-foop: fix crash
Next version will have the fix also. Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
e550fe74db
commit
24e2803f23
2 changed files with 33 additions and 1 deletions
32
srcpkgs/swell-foop/patches/pivot_point.patch
Normal file
32
srcpkgs/swell-foop/patches/pivot_point.patch
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
--- src/game-view.vala 2019-09-09 21:09:07.000000000 +0200
|
||||||
|
+++ src/game-view.vala 2019-10-13 20:40:46.515571474 +0200
|
||||||
|
@@ -398,8 +398,7 @@
|
||||||
|
|
||||||
|
set_content_gravity (Clutter.ContentGravity.CENTER);
|
||||||
|
|
||||||
|
- pivot_point.x = 0.5f;
|
||||||
|
- pivot_point.y = 0.5f;
|
||||||
|
+ set_pivot_point (0.5f, 0.5f);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Destroy the tile */
|
||||||
|
@@ -438,8 +437,7 @@
|
||||||
|
|
||||||
|
set_content_gravity (Clutter.ContentGravity.CENTER);
|
||||||
|
|
||||||
|
- pivot_point.x = 0.5f;
|
||||||
|
- pivot_point.y = 0.5f;
|
||||||
|
+ set_pivot_point (0.5f, 0.5f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -460,8 +458,7 @@
|
||||||
|
|
||||||
|
add_child (label);
|
||||||
|
|
||||||
|
- pivot_point.x = 0.5f;
|
||||||
|
- pivot_point.y = 0.5f;
|
||||||
|
+ set_pivot_point (0.5f, 0.5f);
|
||||||
|
|
||||||
|
this.scene_width = (float) width;
|
||||||
|
this.scene_height = (float) height;
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'swell-foop'
|
# Template file for 'swell-foop'
|
||||||
pkgname=swell-foop
|
pkgname=swell-foop
|
||||||
version=3.34.0
|
version=3.34.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
hostmakedepends="glib-devel itstool pkg-config vala"
|
hostmakedepends="glib-devel itstool pkg-config vala"
|
||||||
makedepends="clutter-gtk-devel"
|
makedepends="clutter-gtk-devel"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue