mirror of
https://github.com/sigmasternchen/Wish
synced 2025-03-15 15:38:54 +00:00
Merge pull request #5 from bitowl/firefoxfixes
constant size of the cursor even in firefox
This commit is contained in:
commit
7249047beb
2 changed files with 4 additions and 1 deletions
|
@ -486,7 +486,6 @@ Emulator.Output.cursorOn = function() { // fix by Jonas
|
||||||
att.value = "cursor";
|
att.value = "cursor";
|
||||||
cursorElement.setAttributeNode(att);
|
cursorElement.setAttributeNode(att);
|
||||||
cursorElement.style.background = "#000";
|
cursorElement.style.background = "#000";
|
||||||
cursorElement.style.height = "100%";
|
|
||||||
cursorElement.style.border = "1px solid #fff";
|
cursorElement.style.border = "1px solid #fff";
|
||||||
Emulator.Output.getCursor().appendChild(cursorElement);
|
Emulator.Output.getCursor().appendChild(cursorElement);
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,10 @@
|
||||||
#output {
|
#output {
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
#cursor{
|
||||||
|
width:8px;
|
||||||
|
height:18px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script src="Emulator.js"></script>
|
<script src="Emulator.js"></script>
|
||||||
<script src="KeyCodes.js"></script>
|
<script src="KeyCodes.js"></script>
|
||||||
|
|
Loading…
Reference in a new issue