Better forcefield control dialog
authorZefram <zefram@fysh.org>
Wed, 2 Jul 2014 22:59:53 +0000 (23:59 +0100)
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>
Thu, 3 Jul 2014 01:43:34 +0000 (21:43 -0400)
commit2d6f34df15600e3747939114dbfec871e8fe3f55
tree25ee6ddae3d55337eda93f6b67920f3e92f1afc3
parentc0a17396bf093360f266a693c860cfad0b7ebbfe
Better forcefield control dialog

The size configuration is no longer cleared when exiting the dialog with
<esc>.  The enable/disable toggle button now indicates the current state.
The name of the toggle button now varies according to state, so that
pressing the button multiple times in one state (which can arise due
to lag making the user unsure about whether the first press registered)
only makes the state change that the user requested, rather than toggling
repeatedly.
technic/machines/HV/forcefield.lua