Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shorin/missions certificate #46

Merged
merged 2 commits into from
May 25, 2021
Merged

Shorin/missions certificate #46

merged 2 commits into from
May 25, 2021

Conversation

sdshorin
Copy link
Contributor

No description provided.

@@ -646,7 +646,8 @@ int RichTextLabel::_process_line(ItemFrame *p_frame, const Vector2 &p_ofs, int &
line_is_blank = false;

if (p_mode == PROCESS_DRAW && visible) {
img->image->draw_rect(ci, Rect2(p_ofs + Point2(align_ofs + wofs, y + lh - font->get_descent() - img->size.height), img->size));
Color ccolor = _find_color(img, Color(1, 1, 1));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

В новой версии движка modulate картинки в richtextlabel сделано иначе - нужно будет удалить этот коммит!
godotengine/godot#39113

platform/iphone/ios.mm Outdated Show resolved Hide resolved
@@ -47,7 +47,7 @@ class iOS : public Object {
String get_rate_url(int p_app_id) const;
String get_app_version();

void share_data(const String &title, const String &subject, const String &text);
void share_data(const String &text, const String &image_path);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это точно норм, что ты меняешь сигнатуру уже существующего метода?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Да. Метод наш, будет использоваться только в 2 местах в приложении. Удаленные параметры нигде не использовались - это исправление моего старого кода.

scene/gui/rich_text_label.cpp Outdated Show resolved Hide resolved
platform/iphone/ios.mm Outdated Show resolved Hide resolved
@sdshorin sdshorin force-pushed the shorin/missions_certificate branch from 5a92008 to 9e59edb Compare May 25, 2021 10:47
@sdshorin sdshorin requested a review from jkb0o May 25, 2021 10:49
@jkb0o jkb0o merged commit 8d026a0 into master May 25, 2021
@jkb0o jkb0o deleted the shorin/missions_certificate branch May 25, 2021 10:52
@jkb0o
Copy link
Collaborator

jkb0o commented May 25, 2021

кул

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants