mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-18 17:34:43 -04:00
fixes #389
This commit is contained in:
parent
657142b0aa
commit
5449fb0b1f
@ -87,7 +87,7 @@ public final class SingleValueDialog extends JDialog implements ModelStateObserv
|
||||
|
||||
editValue = value.getValue();
|
||||
this.supportsHighZ = supportsHighZ;
|
||||
mask = (1L << value.getBits()) - 1;
|
||||
mask = Bits.mask(value.getBits());
|
||||
|
||||
textField = new JTextField(10);
|
||||
textField.setHorizontalAlignment(JTextField.RIGHT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user