mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
* Lots of minor code cleanup
* WIP work on HorizontalMenuView * Initial art for HorizontalMenuView demo
This commit is contained in:
parent
c87c0d69b7
commit
d346fe72ee
11 changed files with 114 additions and 66 deletions
|
@ -18,9 +18,11 @@ function ToggleMenuView (options) {
|
|||
|
||||
var self = this;
|
||||
|
||||
/*
|
||||
this.cachePositions = function() {
|
||||
self.positionCacheExpired = false;
|
||||
};
|
||||
*/
|
||||
|
||||
this.updateSelection = function() {
|
||||
assert(!self.positionCacheExpired);
|
||||
|
@ -35,7 +37,7 @@ util.inherits(ToggleMenuView, MenuView);
|
|||
ToggleMenuView.prototype.redraw = function() {
|
||||
ToggleMenuView.super_.prototype.redraw.call(this);
|
||||
|
||||
this.cachePositions();
|
||||
//this.cachePositions();
|
||||
|
||||
this.client.term.write(this.hasFocus ? this.getFocusSGR() : this.getSGR());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue