mirror of https://github.com/KLayout/klayout.git
Adjusting one sample
This commit is contained in:
parent
f901c1fb99
commit
8659e165d5
|
|
@ -279,7 +279,11 @@ class DragBoxPlugin < RBA::Plugin
|
|||
@marker.line_style = 2 # short-dashed
|
||||
@marker.vertex_size = 0 # no vertexes
|
||||
@marker.line_width = @width
|
||||
@marker.color = @color ? (@color | 0xff000000) : 0 # auto
|
||||
if @color
|
||||
@marker.color = @color | 0xff000000
|
||||
else
|
||||
@marker.reset_color
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -297,7 +297,7 @@ class DragBoxPlugin(pya.Plugin):
|
|||
if self.color is not None:
|
||||
self.marker.color = self.color | 0xff000000
|
||||
else:
|
||||
self.marker.color = 0 # auto
|
||||
self.marker.reset_color()
|
||||
|
||||
def _update_box(self, box):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue