File tree Expand file tree Collapse file tree
java/com/therealbluepandabear/pixapencil
activities/canvas/onoptionsitemselected Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import android.view.LayoutInflater
66import android.view.View
77import android.view.ViewGroup
88import android.widget.ScrollView
9- import androidx.core.view.doOnNextLayout
109import androidx.core.widget.doAfterTextChanged
1110import com.google.android.material.dialog.MaterialAlertDialogBuilder
1211import com.therealbluepandabear.pixapencil.R
Original file line number Diff line number Diff line change @@ -168,13 +168,13 @@ fun Bitmap.drawTransparent() {
168168 val coordinates = Coordinates .staticSet(i_1, i_2)
169169
170170 if (i_1 % 2 == 0 ) {
171- if ((i_1 % 2 == 0 ) && ( i_2 % 2 == 0 ) ) {
171+ if (i_2 % 2 == 0 ) {
172172 setPixel(coordinates, color)
173173 } else {
174174 setPixel(coordinates, Color .WHITE )
175175 }
176176 } else {
177- if ((i_1 % 2 != 0 ) && ( i_2 % 2 != 0 ) ) {
177+ if (i_2 % 2 != 0 ) {
178178 setPixel(coordinates, color)
179179 } else {
180180 setPixel(coordinates, Color .WHITE )
Original file line number Diff line number Diff line change 77 <string name =" generic_warning" >警告</string >
88 <string name =" generic_saved" >已保存</string >
99 <string name =" generic_switch" >开关</string >
10- <string name =" generic_png" translatable =" false" >PNG</string >
11- <string name =" generic_jpg" translatable =" false" >JPG</string >
12- <string name =" generic_webp" translatable =" false" >WEBP</string >
13- <string name =" generic_tif" translatable =" false" >TIF</string >
14- <string name =" generic_bmp" translatable =" false" >BMP</string >
1510 <string name =" generic_darken_mode_tooltip" >夜间模式</string >
1611 <string name =" generic_lighten_mode_tooltip" >日间模式</string >
1712
3025 <string name =" projectDetailsAlertBox_colors" >颜色</string >
3126
3227 <!-- Other strings-->
33- <string name =" recentCreationsLayout_subtitle" translatable =" false" >%1$dx%2$d</string >
3428
3529 <!-- Fragment strings-->
3630 <string name =" fragmentFilters_color_filter" >滤色器</string >
8983 <string name =" fragmentHexadecimalColorPicker_failed_to_copy_to_clipboard" >复制文本剪贴板失败</string >
9084
9185 <string name =" fragmentColorPicker_tab_color_picker" >取色盘</string >
92- <string name =" fragmentColorPicker_tab_rgb" translatable =" false" >RGB</string >
93- <string name =" fragmentColorPicker_tab_hex" translatable =" false" >Hex</string >
9486
9587 <string name =" fragmentAppInfo_created_by_text" >Created by <a href =" https://github.com/therealbluepandabear" >thebluepandabear</a >.</string >
9688 <string name =" fragmentAppInfo_description_text" >
You can’t perform that action at this time.
0 commit comments