1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 17:59:04 +00:00

Be explicit about truncating division (timeout is in whole milliseconds)

This commit is contained in:
dmiller
2020-09-14 17:41:39 +00:00
parent 75318985a1
commit dff084edcb

View File

@@ -192,7 +192,7 @@ class RadialNet(gtk.DrawingArea):
self.__interpolation_slow_in_out = True self.__interpolation_slow_in_out = True
self.__animating = False self.__animating = False
self.__animation_rate = 1000 / 60 # 60Hz (human perception factor) self.__animation_rate = 1000 // 60 # 60Hz (human perception factor)
self.__number_of_frames = 60 self.__number_of_frames = 60
self.__scale = 1.0 self.__scale = 1.0