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.12#163

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 2 commits intovisualpython:devopsfromminjk-bl:devops
Aug 8, 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
13 changes: 13 additions & 0 deletionsjs/com/component/PopupComponent.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -792,7 +792,20 @@ define([
open() {
vpLog.display(VP_LOG_TYPE.DEVELOP, 'open popup', this);
this.loadState();

this.show();

// set popup position if its top-left side is outside of view
let pos = $(this.wrapSelector()).position();
if (pos) {
if (pos.top < 0) {
$(this.wrapSelector()).css({ top: 0 });
}
if (pos.left < 0) {
$(this.wrapSelector()).css({ left: 0 });
}
}

this._bindCodemirror();

$(this.eventTarget).trigger({
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@@ -1302,12 +1302,12 @@ define([
var tab = content.addtype;
if (tab == 'value') {
var value = com_util.convertToStr(content.value, content.valueastext);
code.appendFormat("{0}[[{1}]] = {2}", tempObj, name, value);
code.appendFormat("{0}[{1}] = {2}", tempObj, name, value);
} else if (tab == 'calculation') {
var { var1col, oper, var2col } = content;
var var1code = tempObj + "['" + var1col + "']";
var var2code = tempObj + "['" + var2col + "']";
code.appendFormat('{0}[[{1}]] = {2} {3} {4}', tempObj, name, var1code, oper, var2code);
code.appendFormat('{0}[{1}] = {2} {3} {4}', tempObj, name, var1code, oper, var2code);
} else if (tab == 'replace') {
var replaceStr = new com_String();
var useRegex = content['useregex'];
Expand All@@ -1325,7 +1325,7 @@ define([
if (selectedName && selectedName != '') {
selectedName = '[[' + selectedName + ']]';
}
code.appendFormat("{0}[[{1}]] = {2}{3}.replace({{4}}", tempObj, name, tempObj, selectedName, replaceStr);
code.appendFormat("{0}[{1}] = {2}{3}.replace({{4}}", tempObj, name, tempObj, selectedName, replaceStr);
if (useRegex) {
code.append(', regex=True');
}
Expand All@@ -1334,7 +1334,7 @@ define([
var value = com_util.convertToStr(content.value, content.valueastext);
code.appendFormat("{0} = {1}", content.subset, value);
} else if (tab == 'apply') {
code.appendFormat("{0}[[{1}]] = {2}[{3}].apply({4})", tempObj, name, tempObj, content.column, content.apply);
code.appendFormat("{0}[{1}] = {2}[{3}].apply({4})", tempObj, name, tempObj, content.column, content.apply);
}
break;
case FRAME_EDIT_TYPE.ADD_ROW:
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp