a LOT of minor stuff
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
package kernel.ui;
|
||||
|
||||
import lib.TermWriteable;
|
||||
import kernel.ui.TermWriteable;
|
||||
import kernel.peripherals.Peripherals.Peripheral;
|
||||
|
||||
/**
|
||||
Responsable for creating window context, forwarding UI events to the context
|
||||
and switching context to real screens.
|
||||
**/
|
||||
class WindowManager {
|
||||
/**
|
||||
Depends on: KernelEvents, Peripheral
|
||||
@@ -45,9 +49,9 @@ class WindowManager {
|
||||
});
|
||||
|
||||
KernelEvents.instance.onMouseUp.handle(params -> {
|
||||
// if (currentMainContext != null) {
|
||||
if (currentMainContext != null) {
|
||||
currentMainContext.onMouseUpTrigger.trigger(params);
|
||||
// }
|
||||
}
|
||||
});
|
||||
|
||||
KernelEvents.instance.onPaste.handle(text -> {
|
||||
|
||||
Reference in New Issue
Block a user