Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update for v2.2.9#158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
minjk-bl merged 4 commits intovisualpython:devopsfromminjk-bl:devops
Aug 5, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletionscss/menuFrame.css
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,18 +57,18 @@
padding: 0 5px 5px 5px;
box-sizing: border-box;
}
.vp-menu-body > div:nth-child(2) {
/*.vp-menu-body > div:nth-child(2) {
margin-top: 50px;
}
} */
.vp-menu-search-div {
box-sizing: border-box;
padding: 10px 0 10px 0px;
position:absolute;
width:calc(100% - 10px);
position:relative;
width: 100%;
background: white;
}
.vp-menu-search-box {
width: calc(100% -50px);
width: calc(100% -45px);
height: 30px;
background: #FFFFFF;
border: 0.25px solid #e4e4e4;
Expand All@@ -83,14 +83,14 @@
width: 20px;
height: 20px;
position: relative;
right:32px;
right:30px;
}
.vp-board-toggle-icon {
width: 26px;
height: 26px;
position: absolute;
top: 11px;
right:8px;
right:4px;
cursor: pointer;
background-image: url(../img/toggleNote.svg);
background-position: center;
Expand All@@ -105,6 +105,9 @@
.vp-board-toggle-icon:hover {
background-image: url(../img/toggleNote.svg);
}
.vp-menugroup-list {
height: calc(100% - 45px);
}

.vp-menu-footer {
width: 100%;
Expand Down
5 changes: 4 additions & 1 deletionhtml/menuFrame.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,12 +48,15 @@
</div>
</div>
<!-- Menu Body -->
<div id="vp_menuBody" class="vp-menu-body vp-scrollbar">
<div id="vp_menuBody" class="vp-menu-body">
<div class="vp-menu-search-div">
<input id="vp_menuSearchBox" class="vp-input vp-menu-search-box" type="text" placeholder="Search">
<img class="vp-menu-search-icon" src="/nbextensions/visualpython/img/search.svg"/>
<div id="vp_toggleBoard" class="vp-board-toggle-icon" title="Show VP Note"></div>
</div>
<div class="vp-menugroup-list vp-scrollbar">

</div>
</div>
<!-- Menu Footer -->
<div id="vp_menuFooter" class="vp-menu-footer">
Expand Down
4 changes: 1 addition & 3 deletionsjs/com/component/FileNavigation.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -402,9 +402,7 @@ define([
$(this.wrapSelector('#vp_fileNavigationInput')).on('change', function() {
let fileName = $(this).val();
let filePath = that.getRelativePath(that.pathState.baseDir, that.pathState.currentPath);
if (filePath == '') {
filePath = './' + fileName;
}

that.handleSelectFile(filePath, fileName);
});
// bind save cancel event
Expand Down
8 changes: 4 additions & 4 deletionsjs/m_apps/Frame.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -660,10 +660,10 @@ define([
// render variable list
// get prevvalue
var prevValue = that.state.originObj;
if (varList && varList.length > 0 && prevValue == '') {
prevValue = varList[0].varName;
that.state.originObj = prevValue;
}
//if (varList && varList.length > 0 && prevValue == '') {
// prevValue = varList[0].varName;
// that.state.originObj = prevValue;
//}
// replace
that.renderVariableList(varList, prevValue);
$(that.wrapSelector('#vp_feVariable')).trigger('change');
Expand Down
2 changes: 1 addition & 1 deletionjs/m_visualize/Seaborn.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -712,7 +712,7 @@ define([
suggestInput.setComponentID('styleSheet');
suggestInput.setSuggestList(function() { return varList; });
suggestInput.setPlaceholder('style name');
suggestInput.setValue('seaborn-darkgrid'); // set default (seaborn-darkgrid)
//suggestInput.setValue('seaborn-darkgrid'); // set default (seaborn-darkgrid)
// suggestInput.setNormalFilter(false);
$(stylesheetTag).replaceWith(function() {
return suggestInput.toTagString();
Expand Down
2 changes: 1 addition & 1 deletionjs/menu/MenuFrame.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -252,7 +252,7 @@ define([
menuLibraries && menuLibraries.forEach(item => {
if (item.type == 'package') {
// packages : MenuGroup
var menuGroup = new MenuGroup($('#vp_menuBody'), item);
var menuGroup = new MenuGroup($('.vp-menugroup-list'), item);
if (item.item) {
that.renderMenuItem(menuGroup);
}
Expand Down
2 changes: 2 additions & 0 deletionsjs/menu/MenuGroup.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -39,6 +39,8 @@ define([
bodyTag.hide();
} else {
bodyTag.show();
// scroll to view
$(target)[0].scrollIntoView({behavior: "smooth", block: "start"});
}
evt.stopPropagation();
}
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp