Fixed axis scale issue and color update issue

This commit is contained in:
Robin 2021-10-04 08:47:52 +02:00
parent 49f5f57459
commit 532ffa7eae
2 changed files with 7 additions and 9 deletions

View File

@ -754,6 +754,10 @@ public abstract class Table implements Serializable {
public void setCurrentScale(Scale curScale) {
this.curScale = curScale;
if(tableView!=null) {
tableView.drawTable();
}
}
public Settings getSettings()
@ -783,6 +787,7 @@ public abstract class Table implements Serializable {
public void setCompareValueType(Settings.DataType compareValueType) {
this.compareValueType = compareValueType;
if(tableView!= null)tableView.drawTable();
}
@ -792,6 +797,8 @@ public abstract class Table implements Serializable {
public void colorCells() {
calcCellRanges();
if(tableView!=null)tableView.drawTable();
}
public void refreshCompare() {

View File

@ -42,15 +42,6 @@ public class Table1D extends Table {
return axisParent;
}
@Override
public void setCurrentScale(Scale curScale) {
this.curScale = curScale;
if(getAxisParent() == null && tableView!=null) {
tableView.drawTable();
}
}
@Override
public byte[] saveFile(byte[] binData) {
return binData;