Remove all def-key='enter' in favour of defbtn attribute

In addition, the default button is finally properly outlined when specified with the defbtn attribute.
(It would also be outlined if specified with def-key='enter'.)
The following preset buttons (available to special nodes) now respond to the enter key:
- "Leave", "Done", "OK"
This commit is contained in:
2015-10-03 03:35:41 -04:00
parent da58f09fca
commit 8b5396c980
14 changed files with 25 additions and 37 deletions

View File

@@ -38,5 +38,5 @@
TODO: Originally had top=242; if it doesn't work right in-game, try reverting to that.
-->
<pict type='full' num='1300' top='232' left='284' width='275' height='100'/>
<button name='okay' type='regular' top='403' left='500' def-key='enter'>OK</button>
<button name='okay' type='regular' top='403' left='500'>OK</button>
</dialog>