Comments (8)
Wowzers 😅
from monaco-editor.
Hehe was coming here to say the same thing: happens on OS X too, retina display.
from monaco-editor.
I'm thinking it is caused by https://github.com/Microsoft/vscode/blob/master/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css#L22 I wonder why we don't see this in vscode too.
from monaco-editor.
I was going to try this on my high DPI Windows machine, but I don't even get a right-facing pointer in that scenario. (Using Chrome Version 53.0.2767.4 dev-m (64-bit))
from monaco-editor.
On Safari (9.1) I get a proper sized pointer on a high dpi screen
from monaco-editor.
It shows big pointer even in normal dpi when zoom is applied. Tested on chrome.
It is problem with css property cursor: webkit-image-set, which only have 2 definitions: one for normal(1x) resolution and one for high dpi(2x). Adding more definitions would solve the problem.
This is css4 feature, so no official support yet.
from monaco-editor.
@alexandrudima I am still getting this when using a newer electron (with Chrome 51) in VS Code:
from monaco-editor.
Ok I think your fix solves this for the standalone editor by just changing the CSS rule to be workbench specific. I will create an issue in VS Code repository.
from monaco-editor.
Related Issues (20)
- [Bug] DiffEditor with glyphMargin: false, still renders glyphMargin when rendered side by side. HOT 1
- [Bug] Monaco does not render markers of the dedicated model after switching to this model. HOT 1
- [Bug] Tab only accept the empty space HOT 3
- how to convert luau.tmLanguage.json to a something setMonarchLanguageProvider will accept
- [Bug] There is always a focus-border around editor when editor background is transparent HOT 1
- [Bug] Support CSS :has() pseudo-class HOT 1
- _foreignProxy from createWebWorker never resolved
- Zonde does not move to the next line if you add a line break on the line before it
- Reopen "Background color does not seems to be working on monaco.editor.defineTheme rules section." HOT 2
- [Bug] "Developer: Inspect Editor Tokens and Scopes" causes error HOT 1
- [Feature Request] Support for package.json conditional exports map, for extra libs typings acquisition HOT 1
- [Bug] d.classList is undefined
- [Bug] typescript type check HOT 1
- [Bug] Wrong cursor position if editor has `transform: scale(0.4);` HOT 1
- [Bug] Update Inlay Hints Provider Example to use `paddingRight` and `paddingLeft`
- [Feature Request] completionItems with insertText having quotes can have extra quotes in the front
- [Bug] paste by ctrl+v not working inside editor after update to 0.46.0 HOT 1
- [Bug] Glyph margin decorations/widgets for deleted lines not rendering in the inline view
- [Bug] createScopedLocalize is undefined HOT 1
- [Bug] Crash / Slowness when JSON Schema is applied
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monaco-editor.