mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-02 02:47:48 +02:00
Adjusting one sample
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user