close #316
This commit is contained in:
parent
8fbb6acbf9
commit
979fc3aa35
1 changed files with 2 additions and 1 deletions
|
@ -47,8 +47,9 @@ abstract public class AbstractPatternComponent implements ICustomComponent {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onVariablesAvailable(UnaryOperator<IVariable> lookup) {
|
public void onVariablesAvailable(UnaryOperator<IVariable> lookup) {
|
||||||
|
var patterns = this.getPatterns(lookup);
|
||||||
var data = PatternDrawingUtil.loadPatterns(
|
var data = PatternDrawingUtil.loadPatterns(
|
||||||
this.getPatterns(lookup),
|
patterns,
|
||||||
this.showStrokeOrder() ? RenderLib.DEFAULT_READABILITY_OFFSET : 0f,
|
this.showStrokeOrder() ? RenderLib.DEFAULT_READABILITY_OFFSET : 0f,
|
||||||
this.showStrokeOrder() ? RenderLib.DEFAULT_LAST_SEGMENT_LEN_PROP : 1f);
|
this.showStrokeOrder() ? RenderLib.DEFAULT_LAST_SEGMENT_LEN_PROP : 1f);
|
||||||
this.hexSize = data.hexSize();
|
this.hexSize = data.hexSize();
|
||||||
|
|
Loading…
Reference in a new issue