mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Be explicit about truncating division (timeout is in whole milliseconds)
This commit is contained in:
@@ -192,7 +192,7 @@ class RadialNet(gtk.DrawingArea):
|
||||
self.__interpolation_slow_in_out = True
|
||||
|
||||
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.__scale = 1.0
|
||||
|
||||
Reference in New Issue
Block a user