constant size of the cursor even in firefox

This commit is contained in:
bitowl 2013-07-20 21:48:45 +02:00
parent a0d499a949
commit ae685c45f4
2 changed files with 4 additions and 1 deletions

View file

@ -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);
} }

View file

@ -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>