File: 101_fix-Display-not-updated-no.patch

package info (click to toggle)
glogic 2.6-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,728 kB
  • sloc: python: 5,335; sh: 697; makefile: 199; xml: 18
file content (16 lines) | stat: -rw-r--r-- 552 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Display not updated
Author: Jakob Haufe <sur5r@sur5r.net>
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782557
Forwarded: https://bugs.launchpad.net/glogic/+bug/1892946
Last-Update: 2020-08-25

--- a/glogic/DrawArea.py
+++ b/glogic/DrawArea.py
@@ -964,3 +964,7 @@
 	def flip_vert_picked_components(self):
 		self._pushed_component.matrix = multiply_matrix((1, 0, 0, -1), self._pushed_component.matrix)
 		self._pushed_component.set_rot_props()
+
+	def queue_draw(self):
+		self.drawingarea.queue_draw()
+		super().queue_draw()