Skip to content

Commit c5f0c5f

Browse files
committed
deploy: 8a905e4
1 parent 94beef4 commit c5f0c5f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1761
-248
lines changed

LiveDevelopment/BrowserScripts/LivePreviewTransportRemote.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@
307307
}, "*");
308308
}
309309
});
310+
document.addEventListener('contextmenu', function(event) {
311+
(document.activeElement || document.body).focus();
312+
});
310313
document.addEventListener('keydown', function(event) {
311314
if (event.key === 'Escape' || event.key === 'Esc') { // Check for Escape key
312315
// Perform the desired action for the Escape key

LiveDevelopment/main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ define(function main(require, exports, module) {
216216
exports.trigger(EVENT_LIVE_HIGHLIGHT_PREF_CHANGED, config.highlight);
217217
}
218218

219-
function _handlePreviewHighlightCommand() {
219+
function togglePreviewHighlight() {
220220
config.highlight = !config.highlight;
221221
_updateHighlightCheckmark();
222222
if (config.highlight) {
@@ -305,7 +305,7 @@ define(function main(require, exports, module) {
305305
config.highlight = PreferencesManager.getViewState("livedevHighlight");
306306

307307
// init commands
308-
CommandManager.register(Strings.CMD_LIVE_HIGHLIGHT, Commands.FILE_LIVE_HIGHLIGHT, _handlePreviewHighlightCommand);
308+
CommandManager.register(Strings.CMD_LIVE_HIGHLIGHT, Commands.FILE_LIVE_HIGHLIGHT, togglePreviewHighlight);
309309
CommandManager.register(Strings.CMD_RELOAD_LIVE_PREVIEW, Commands.CMD_RELOAD_LIVE_PREVIEW, _handleReloadLivePreviewCommand);
310310

311311
CommandManager.get(Commands.FILE_LIVE_HIGHLIGHT).setEnabled(false);
@@ -326,6 +326,7 @@ define(function main(require, exports, module) {
326326
exports.isActive = isActive;
327327
exports.setLivePreviewPinned = setLivePreviewPinned;
328328
exports.setLivePreviewTransportBridge = setLivePreviewTransportBridge;
329+
exports.togglePreviewHighlight = togglePreviewHighlight;
329330
exports.getConnectionIds = MultiBrowserLiveDev.getConnectionIds;
330331
exports.getLivePreviewDetails = MultiBrowserLiveDev.getLivePreviewDetails;
331332
});

appConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ window.AppConfig = {
2323
"extension_store_url": "https://store.core.ai/src/",
2424
"app_notification_url": "assets/notifications/dev/",
2525
"linting.enabled_by_default": true,
26-
"build_timestamp": "2024-02-07T06:01:11.029Z",
26+
"build_timestamp": "2024-02-08T13:54:29.068Z",
2727
"googleAnalyticsID": "G-P4HJFPDB76",
2828
"googleAnalyticsIDDesktop": "G-VE5BXWJ0HF",
2929
"mixPanelID": "49c4d164b592be2350fc7af06a259bf3",
@@ -34,7 +34,7 @@ window.AppConfig = {
3434
"bugsnagEnv": "development"
3535
},
3636
"name": "Phoenix",
37-
"version": "3.2.25-19835",
37+
"version": "3.2.25-19842",
3838
"apiVersion": "3.2.25",
3939
"homepage": "https://core.ai",
4040
"issues": {

assets/default-project/en.zip

0 Bytes
Binary file not shown.

assets/sample-projects/HTML5.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

assets/sample-projects/explore.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)