0.4.16 Fixed properties window not going away when it should
This commit is contained in:
parent
91a0788146
commit
ec8b26ebbd
@ -20,6 +20,10 @@ LZ-String, Copyright 2013 pieroxy under MIT license https://github.com/pieroxy/l
|
||||
|
||||
## Changelog
|
||||
|
||||
### 0.4.16
|
||||
|
||||
* Fixed bug where properties window didn't disappear at certain times when it should
|
||||
|
||||
### 0.4.15
|
||||
|
||||
* Prepending ! or ~ (active low) before a pin name will now overline it when displayed on element
|
||||
|
@ -266,6 +266,11 @@ function HideHelp() {
|
||||
helpWindow.style.display = "none";
|
||||
}
|
||||
|
||||
function HidePropertiesWindow() {
|
||||
let propwin = document.getElementById("PropertiesBox");
|
||||
propwin.style.display = "none";
|
||||
}
|
||||
|
||||
function SaveSettings() {
|
||||
localStorage.setItem("LogicEngineSettings",JSON.stringify(logicEngine.Settings));
|
||||
console.log("Settings Saved");
|
||||
|
@ -2,7 +2,7 @@
|
||||
MatCat BrowserLogic Simulator
|
||||
*/
|
||||
|
||||
let Version = "0.4.15";
|
||||
let Version = "0.4.16";
|
||||
|
||||
let spanVersion = document.getElementById("version");
|
||||
spanVersion.innerText = Version;
|
||||
|
@ -34,12 +34,15 @@ function RightClickMenuListeners() {
|
||||
logicEngine.Ctx.setTransform(1, 0, 0, 1, 0, 0);
|
||||
logicEngine.Panning.OffsetX = 0;
|
||||
logicEngine.Panning.OffsetY = 0;
|
||||
HidePropertiesWindow();
|
||||
disableSelectedMenus(true);
|
||||
|
||||
});
|
||||
|
||||
let rcm_Delete = document.getElementById("rcm_Delete");
|
||||
rcm_Delete.addEventListener('click', function (evt) {
|
||||
logicEngine.Key_Press({ctrlKey: false, key: "Delete"});
|
||||
HidePropertiesWindow();
|
||||
disableSelectedMenus(true);
|
||||
});
|
||||
|
||||
|
@ -80,6 +80,9 @@ function TopMenuListeners() {
|
||||
logicEngine.Ctx.setTransform(1, 0, 0, 1, 0, 0);
|
||||
logicEngine.Panning.OffsetX = 0;
|
||||
logicEngine.Panning.OffsetY = 0;
|
||||
HidePropertiesWindow();
|
||||
disableSelectedMenus(true);
|
||||
|
||||
setTimeout(function () {
|
||||
hideMenus()
|
||||
}, 10);
|
||||
@ -116,6 +119,7 @@ function TopMenuListeners() {
|
||||
let tfm_Delete = document.getElementById("tfm_Delete");
|
||||
tfm_Delete.addEventListener('click', function (evt) {
|
||||
logicEngine.Key_Press({ctrlKey: false, key: "Delete"});
|
||||
HidePropertiesWindow();
|
||||
disableSelectedMenus(true);
|
||||
setTimeout(function () {
|
||||
hideMenus()
|
||||
|
Loading…
Reference in New Issue
Block a user