Bug #11889 ยป bug_11889.patch
ext/tk/lib/tkextlib/blt/component.rb | ||
---|---|---|
def self.new(chart, keys={})
|
||
obj = nil
|
||
LegenedID_TBL.mutex.synchronize{
|
||
unless (obj = LegenedID_TBL[chart.path])
|
||
LegendID_TBL.mutex.synchronize{
|
||
unless (obj = LegendID_TBL[chart.path])
|
||
(obj = self.allocate).instance_eval{
|
||
@parent = @chart = chart
|
||
@cpath = @chart.path
|
||
@path = @id = 'crosshairs'
|
||
Legend::LegenedID_TBL[@cpath] = self
|
||
Legend::LegendID_TBL[@cpath] = self
|
||
}
|
||
end
|
||
}
|